updated Spring configuration to use my parameterised DAO class
DAO.java:close entitymanager causing IllegalStateExcepitopn to be thrown by DAO<User>
UserServlet.java: changed @autowired to @resource to remove a bean ambiguity