update joda && hibernate versions
migrate to new hibernate interfaces
fix tests