Fix for issue #3216.
Implement transaction.atomic wrapper for Django 1.4 compatibility
Less hackish implementation of wrap_transaction
Merge pull request #3227 from yakky/feature/atomic

Implement transaction.atomic in django 1.4/1.5 way
Compatible with reversion 1.8.1
Fix code with reversion 1.8.1
Merge pull request #3222 from yakky/feature/fix_reversion_181

Compatible with reversion 1.8.1
Merge pull request #3217 from czpython/issue-3216

Fix for issue #3216.