Only call after_commit on create for persisted records

Yes, ActiveRecord, this time you suck!
Merge pull request #5 from harrystech/dont_try_emitting_invalid_records

Only call after_commit on create for persisted records