Set OpenLayers lang unobtrusively

We output the locale code as the lang attribute, so
use that rather than interpolating into embedded JS.
Float user image to right correctly on per-user diary listing page
Localisation updates from http://translatewiki.net.
Switch to using i18n-js for handling translations in javascript
Reduce interpolation in export/start.js.erb
Extract export.js static asset
Reduce interpolation in browse/start.js.erb
Extract browse.js static asset
Remove unused gem and add a comment where it was replaced
Remove unused helper
Use a standard application.js bundle

Include map.js and menu.js in the bundle.
Avoid polluting the global scope

Only startBrowse and startExport need to be exposed;
everything else can be scoped inside those functions.
Use start.html.erb views instead of _sidebar.html.erb partials
Update the image size when we switch to the mapnik export format
Localisation updates from http://translatewiki.net.
Potlatch 2 localisation updates
Move some javascript from the layout to application.js
Move a chunk of non-markup ruby code from a view to the controller
Implement Array.forEach for browsers which don't have it
Use augment.js for improved cross browser compatibility

Remove the quick hack for that I added for Array.forEach and pull
in augment.js instead to add missing JS methods to older browsers.