Add ability to configure response type in Ajax calls.
Merge pull request #72 from matthughes/addResponseType

Add ability to configure response type in Ajax calls.