Add hibernate to pom

Add hibernate config
Add Session factory
Merge branch 'master' of https://github.com/grytsenko/library