Fixes to persistence.xml
Added lazy load to connection factories, to make sure we only try to connect to JPA/Mongo when used