Hibernate update

Change the libraries to follow the Hibernate JPA Pattern. Relation
beteween room and activity has been mapped as Timetable.
Minor updates in Dao class.