Creates a hibernate configuration file with the extension .cfg.xml.
Also registers Hibernate Library with the project, if not already registered.