fixes to document views
PEP8 fix
Don't allow import of ArcGIS MapServer layers that aren't in a projection compatible with web mercator.
Merge pull request #1705 from mbertrand/services

Don't allow import of ArcGIS MapServer layers that aren't in a compatible projection
merged doc security fix
Merge pull request #1707 from state-hiu/resourcebase_fix

Fixes to Document Views
fixed location for document popular_count
Merge pull request #1708 from state-hiu/master

fixed location for document popular_count