Adjust #persisted? logic to be compatible with rails/ActiveModel

* fixes #27 - also see #27 for a more thorough description of
  the differences
Merge pull request #28 from PragTob/fix_persisted

Fix #persisted? to be ActiveModel compliant