return 400/500 codes correctly
Merge pull request #38 from ministryofjustice/mapit-fail-500

return 400/500 codes correctly