Allow users to set responseType
Merge pull request #6 from ebidel/master

Allow users to set responseType for XHR requests