Adding support for addition of tags in atomic transactions.  This commit...

... should fix #174

This incorporates some changes proposed by fabiant7t for 175, but it sticks with the old code for versions of Django before 1.6.