Change Play2Servlet for Container 2.5 and 3.0 to make it works on glassfish

Modify  Play2Servlet to make a correctly deploy on glassfish. Glassfish doesn't like the way that GenericPlay2Servlet was implemented  to generate the files and the WAR got the 404 error when is deployed.  After a lot of research I change the way that Play2Servlet is implemented then the projects deployed with this was able to work in Jetty,Tomcat and GlassFish.