Added _onError call for errors between 300 & 600

This was done to allow 403 status to get handled by onError.  This pull request was request @jfarcand  on #114