reduce levels of town books
(cherry picked from commit d915ac2bb264d33f78c368b970f60ef06fe901b2)
give thematic spell-book drops to monsters
(cherry picked from commit c3bb20842a0b3152482082b1d36c67b744f363ee)
Cursor fix in bigtile mode
(cherry picked from commit ce09dcc019566692111cb5ab3392c4377f0f3f0c)
Fix to UTF8 in html screen dumps
(cherry picked from commit d1d6f17429c69cd32554dd267c63302fba40019a)
Stop crashes when changing to ASCII in SDL
(cherry picked from commit 3bc56a4cb547af1e8ab9ca35f744f50a4f8a65f3)
reenable autosave.  fix #1699
Fix for #1690: Clean up msg_repository[].
Fix for #1691: Reformatted Greater Maia description.
Fix for #1708: Correct comments for X: in p_race.txt.
Fix for #1709: Use isMainWindow instead of isKeyWindow for detecting
front-most window in main-cocoa, and don't try to change font for
non-Angband windows. Also update the font selection panel when windows
become main.
fix crash in reset layout command in initial screen.
make the return value in some new chest test functions have case consistent with rest of the code.
make prt_map() a bit more efficient.(probably: in the worst case, in text mode, an increment and a failed test >1 becomes an add with an assignment.)
continue destroying externs.h
more externs.h destruction
Merge pull request #205 from fizzix/autosave

reenable autosave.  fix #1699
Fix makefile dependencies after elly's changes
Fix up elly's refactoring missing off an extern in monster.h and thus stopping any monster generation from taking place
Fix object visuals dumping bug reported at http://angband.oook.cz/forum/showthread.php?t=5864
(cherry picked from commit 545691a9fc053a72a43108985bd68a2a113a3095)
* constify borg_wield_slot() [note: this should just use the normal wield_slot()]
* refactor the borg ID routines:
  - take into account the fact the game hasn't had weak pseudo ID for four years
  - clean up a lot of code that has not been kept tidy over time
* (hopefully) fix ID routines getting confused about which inven/equip screen the game is on
(cherry picked from commit 4589bc2c1edd7a13b3744540b4efb424e81e5554)