Add support for the export API

- The API for the `get_export` method is slightly different - rather than returning an array of the results it returns an iterator. I'm pretty sure this is the right approach, as the export API is super slow and streams results back to the client.
- Moved the bulk of `Connection#request` to `Connection#raw_request` to give access to the raw urllib2 file-like object