Merge pull request #2 from dannyamey/master

Code removal and clean up
Mock http with nock in tests

Switch from mocking `request` with `mock` to mocking the underlying HTTP
requests with `nock`. Longer term this should make it easier to test
against API response fixtures.
Merge pull request #3 from dannyamey/nock-tests

Mock http with nock in tests