Add some JPA callbacks and a conveniant Abstract Dao for JPA in OSGi.