hashcode compatible to java versions prior to 8
Merge pull request #92 from Lusito/uuid_Long_to_long

Entity.hashcode compatible to java versions prior to 8.