Connect nearby instance view fn to a url

This view was created, but never exposed on a url. It is now required
by the cloud mobile apps.
Merge pull request #1396 from jwalgran/topic/connect-nearby-instance-api

Connect nearby instance view fn to a url
Don't show edits on the edits page if the user doesn't have permissions

Fixes #169
Remove @csrf_exempt from route helper.

After some testing API access does not work without it.
So, I've moved the csrf_exempt decorator to only apply to API views.

Fixes #249
Hide soft keyboard on enter key.  Fixes #155
Fix incorrect filtering link on /edits

Fixes #873
Show map feature photos on the edits and user edits pages
Merge pull request #1400 from maurizi/misc-fixes

Misc bug fixes
Fix test failures caused by 586574ba

This redelaration of api_do shadowed the correct one.
Change create_instance to use lat/lng instead of web mercator

The standard format for GeoJSON and points is almost invariably 4326
Fix create_instance command instance user creation

The docs for the command say that specifying a user is optional, but the
command would crash without one.  Instead, user is now required.
Merge pull request #1401 from maurizi/fix-create-instance-projection

Fix create instance projection
Improve migrator memory usage
Add more output statements
Add workarounds for SD data
Slight refactor of CartoCSS for map features
Fix production crash caused by a name longer than 30 chars

Maybe trailing blanks?
Merge pull request #1405 from RickMohr/tweak-carto-css

Slight refactor of CartoCSS for map features
Merge pull request #1406 from RickMohr/tweak-migration

Fix production crash caused by a name longer than 30 chars
Merge pull request #1403 from OpenTreeMap/experimental/sd_migrator

Experimental/sd migrator