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
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