[1997205] Fixing issue where monsters could be placed in walls. Also, consolidated repeated "is this a valid location" logic into a single function.

git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6395 c06c8d41-db1a-0410-9941-cceddc491573

Created by  ennewalker  on July 4, 2008
5DIBLX3RXK752JKG2BQQM76GYEOMQ5E2YKTLROH3QQGHCVLAGRJQC
Change contents