Beginning work of handling read only layers.  Doesn’t compile.
Merge branch 'dev' into read-only
Merge branch 'dev' into read-only
Merge branch 'dev' into read-only
Allow user to delete media when adding new features.
Refactored getting ready for read only support.  Also query the server to see if the layer is read only and save whether or not it is.
Made it so that if the layer is read only, the feature delete and edit buttons will bring up a dialog saying that the layer is read only instead of actually editing or deleting.  Also made it so that read only layers get removed from the insert feature "layer chooser".
Merge branch 'read-only' into dev
Uncommented this to temporarily "fix" the feature selecting issue
Fixed a bug with getting notifications when there are no layers.
During a sync, recheck permissions on each layer and update in the project.
There's no reason the TileUtil should have to know about the OOM_Workaround.  Changed things so that the getURL overrides in TileUtil and OOM_Workaround check the layer metadata to see if they've been overridden already
Changed the callback to 'callback' instead of 'success' and 'failure' since if the layer is read only it's really because the user is unauthorized which should return a 401 status instead of 200.  Also added a check to see if the layer is editable before querying for layer permissions because we don't want to check for tms layers
Added creation of .nomedia files to the tile directories.