Extended hibernate configuration.

Allows HibernateBundle to configure the SessionFactory in ways that are
not possible using standard properties.

Specifically NamingStrategy and any other configuration outside of
org.hibernate.cfg.Environment.
Merge pull request #291 from vadims/hibernate-configure

Extended hibernate configuration.