MapEdit Work

-better encapsulation support
-cleaned code
-general enhancements and minor bug fixes
Merge branch 'master' of https://github.com/MarkVSullivan/SobekCM-Web-Application