Populate exceptions with errors from the response

Changes the isValidIntercomError method to be
a static and adds a test case to check error
data is being supplied to the Exception.
Merge pull request #40 from intercom/dehora/37

Populate exceptions with errors from the response
add circle.yml file with phpunit