Move map-related code from app.js to mapManager.js

...so we can put a tree map on other site pages (like the plot details page)

(... and I hope search will be next to leave app.js)