added gzip compression
changed process_path to return Bad Request status instead of a 404

If receiving a non-POST response on a POST page it returns a HttpResponseBadRequest
instead of raising an Http404
Merge branch 'master' into secondPass
applying flats now works