Major improvements to Pivotal API interaction

The API's response will now get attached in exceptions
instead of just being told the HTTP error code.