add getSessionFactory to HibernateTool

allows outside services to use it more effectively