Mail content is edited because it is not in test-version anymore
resolves #192
EntityManager is made thread-safe by using ThreadLocal.
JPAFilter is used to create and close entity manager. No need to close
entity manager in application code. So that lazy load operations can be
done without exception (No need to use hibernate.initialize because
lazy-load takes care it when needed.) resolves #190