Bugfix for commit_on_success.

The `commit_on_success` decorator should return the decorated version.
Also, manual commits are forbidden inside `transaction.atomic`.