Improvements to the REST API Error Handling.

Mods to ensure copy-web for module development works properly.  It no
longer deletes the module directory during JSP compilation.