Add a first attempt at using pathfinding for monsters leaving the level,

mostly lifted from BEH_SEEK.

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

Created by  dolorous  on June 21, 2008
FWLLPRIZDBJVQ336TPOLYAFT6WYGAFC52OFIOTRN2YQPFZ3PQVRQC
Change contents