added Apache License file
removed unecessary plugins, upgraded to latest builds of java ee 7
fixed context root
added javadoc, cleaned code