Fix IdentityMap middleware

Correct clear identity map object after every request
Add changes for 0.5.1 version
Remove MassAssignmentSecurity
Don't allow null value for created_at/updated_at fields
Remove #read_attribute

It was redefined in Rails4 and now it's hard to patch it correctly.
It's an internal AR method, so we don't need to implement it in hydra_attribute.
Fix query builder
Set version to 0.6.0.rc1
Fix IdentityMap middleware

Global identity map should be cleared
instead of HydraAttribute::HydraAttribute.identity_map
Support association methods between entities
Add changes for 0.6.0 version