Only call after_commit on create for persisted records

Yes, ActiveRecord, this time you suck!

- Should add some tests.

https://github.com/rails/rails/issues/5802
https://github.com/rails/rails/pull/9115