Sprint and Backlog create/update/delete fixes

* Fix Backlog->remove_from_db()
* Wrap the changes in transactions so that in case of failures, stray
  pools or things like that are not left behind