Use new transaction API with django 1.6

the unit tests pass on OTM2 with this change.