Fix RTE when trying to zoom to a layer when neither layer nor map have a spatial reference defined.
Clean up.
Merge branch '#109/fix-rte-when-zooming-to-layer' into develop