TokenResponse takes Guzzle Response instead of array of params
handle HTTP error conditions
change method name
add more information to HTTP error handler
specify JSON error
substitute function call for PHP 5.4
Merge pull request #14 from easybiblabs/topics/enhance-http-error-handling

Enhance HTTP error handling