Updated error handling.

A backbone error should be fired when the response code is >=400. Everything from there on is an error: https://developer.mozilla.org/en-US/docs/HTTP/HTTP_response_codes