Improve to avoid NPE if the base layer is not in map
Merge branch 'master' of github.com:geosdi/geo-platform
Removed WFST edit mode to avoi problem
TODO: Restore the WFST edit on tree