update dao logic + override hashcode and equals for main entities
some little updates
#25 fix insert queries with GeneratedKeys + fix  db unit tests