update gorm to use new entity abstraction

now both hibernate and gorm extend the same class
Merge pull request #14 from metridoc/gorm-abstracts-like-hibernate

update gorm to use new entity abstraction