Replace sinon with nock for mocking api responses.
Fixed linting issues throughout.
bumped version, removed sinon dep.