Allow 2xx status codes from api.
Check content-type before parsing as json.
Merge pull request #62 from uploadcare/allow-2xx-codes

Allow 2xx status codes from api