Clean up tests and switch to requests

* Clean up of the existing tests
* Increase test coverage with functional tests
* Switch from urllib2 to requests
* Add changelog file