Pom.xml refactored, Java generic errors fixed

Objetcify and the lib in general moved to web/WEB-INF/lib