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