Fix URL matching when using ROOT_URL

Conflicts:

	mapentity/static/mapentity/Leaflet.label
	mapentity/urls.py
Remove leading and trailing slash of MEDIA_URL

Conflicts:

	mapentity/static/mapentity/Leaflet.label
Fix auto-authentication from localhost (dev mode)

Conflicts:

	mapentity/middleware.py
	mapentity/static/mapentity/Leaflet.label
Specify from format on convert proxy

Conflicts:

	mapentity/static/mapentity/Leaflet.label
	mapentity/views/generic.py
Add bind() polyfill, required by PhantomJS (ref #597)

Conflicts:

	mapentity/static/mapentity/Leaflet.label
	mapentity/static/mapentity/mapentity.js
Prevent autologin during tests

Conflicts:

	mapentity/static/mapentity/Leaflet.label
	mapentity/views/generic.py
Fix map screenshot URL behind reverse proxy

Conflicts:

	mapentity/static/mapentity/Leaflet.label
	mapentity/static/mapentity/mapentity.js
	mapentity/views/generic.py
Fix file layer circle marker size (fixes #930)

Conflicts:

	mapentity/static/mapentity/Leaflet.label
	mapentity/templates/mapentity/fieldgeometry_fragment.html
Remove Javascript from login page

Conflicts:

	mapentity/static/mapentity/Leaflet.label
Upgrade Leaflet.Snap and Leaflet.label
Set default static root for django-compressor