added bug fix from: http://stackoverflow.com/questions/22301426/no-qualifying-bean-of-type-javax-persistence-entitymanager