Fix `import json` for Python 2.6/2.7, though this bug only shows on Django 1.7 which only supports Python 2.7.
Merge pull request #479 from joncotton/pr356_followup

Fix `import json` for Django 1.7
Try to import json before simplejson

Follow up for #479 and #356

So that we don't get the deprecation warning on django 1.6 and python >= 2.6 (since it supports json)
Merge pull request #480 from Naddiseo/patch-1

Try to import json before simplejson
remove whitespace
fix from #481 for Python 3.2
fix missing brace