Add `db.rollback` so unintended changes don't persist

* Previously, "import preview" / "preview dry-run" would actually save
  some changes to the database.