fix typo
add scalajpa library dependency
entitymanager was not properly closed
fix scaladoc
add scala enhanced implementation of EntityManagerFactory