Add JsonResponse class for Django < 1.7
Fix small bug with create json resulkt for Django 1.7