Add ajaxSuccess hook to the RESTAdapter

Previously there was no easy way to extract data from response headers
or to reject promises after a 200OK response.
temp
tests and typo fix for ajaxSuccess/ajaxError
Merge pull request #1968 from emberjs/ajaxSuccess

Add ajaxSuccess hook to the RESTAdapter