Adds tests of the HTTP API

Mocks the HTTP requests to the teslamotors.com servers using vcr and webmock