Add python 3.3 and django 1.6 compatibility

I added python 3 compatible metaclass definition in JSONField and fix for strange error with django 1.6 and double-quote json.