Fix EntityManagerFactory injection by Spring ctx

As seen in http://static.springsource.org/spring/docs/3.2.x/spring-framework-reference/html/orm.html#orm-jpa-setup