make dependency to hibernate-core optionnal

Currently there is a dependency to hibernate-core which make it impossible to use Kundera in Apache License compatible project.
This pull request fix that.