Add access to xhr object

This PR adds access to the ajax XHR object and a helper method to get a specific response header:

```ruby
HTTP.get("/some/url") do |response|
  if response.ok?
    alert response.get_header('x-header-name')
  end
end
```

I needed this functionality for header based API pagination.