Ensure mapped objects are expired following a transaction.commit() when
  no database commit was required. Closes #8.