Updated JSONResponse for Django 1.5+

The custom JsonResponse class caused issues as it
wasn't compatible with Django 1.5. This was 
replaced with a simple function that returns a 
standard HTTPResponse.