refactors _do_request impl by using Guzzle\Http\Client
allows APIKEY and APISECRET constants to be set declaratively for tests
fixes token generation test, adds comments