Fix HibernateDatabase.getDefaultDriver to return null if wrong url

URL must start hibernate: or persistence: to work.

Always returning true would cause HibernateDatabase to be used for other
databases, such as H2.