Support jqXHR.statusCode

jqXHR.statusCode is undocumented, but part of the public jqXHR API.  Add
support and tests for it.