prioritize json response over location.

The Zendesk response will now first be checked to see if the body
content contains any JSON. If not, it will try to return the
location, and finally, the response status.

get_id_from_url is now out of commission!