replacing http request with request library and adding ability to specify dataType

In this commit i am removing deprecated usage of http library and also adding a dataType parameter that will allow user to get back raw xml if its needed. For example I don't want to use xml2js parser and instead want to use jsdom and for that I will need to get raw xml back. Also i'm bumping up version by 1 not sure if that's necessary.