Move Datomic.resolveEntity to be method on TxReport

This ensures that the temporary id and the entity are resolved from the same database value!

This fixes #49.