Rename map on /places to #placesmap

The way the javascript is compiled means it's a good idea to make sure
everything is as distinct as possible.
small refactoring to clean up js
check that map exists on page before drawing it
fixed tests to pass with new map div ids
Changed headings on places maps to match new menu ('Community map')
Fixed bug with specific place map

(it was still referring to div#map not #placesmap)

also changed the headings a bit on that page
Merge pull request #364 from Skud/crop-map3

Finally got crop maps AND community map working