Removed unused mapbuffer dirty/clean distinction.
Trim some unnecessary includes.
Nuke a chunk of dead code.
When saving, discard map data outside the active map to conserve memory and make shared maps more consistent.
Add templates dir to gitignore
Randomize name and gender for random characters
Merge branch 'ignore_templates' of https://github.com/MattAmmann/Cataclysm-DDA into merge
Merge branch 'trim-saves' of https://github.com/kevingranade/Cataclysm-DDA into merge
Merge branch 'random_char' of https://github.com/Wuzzy2/Cataclysm-DDA into merge