Adds debugging output for tokens

At some point in the command/request tokens are changing but not being
persisted. This adds debugging to help highlight the issues.
Adds spec for ErrorParser

The ErrorParser actually handles the kicking off of renewing tokens by
rescuing Unauthorized error responses from the API.

Really this should be split so the on_error handler will attempt to
renew and pass up other errors to pretty print.
Adds helpers to easily create configs

The original approach of having two configs way only slightly better
than ignoring the problem and not noticing tests were using a dev's real
configuration and rewritting their tokens.

Now each spec runs in an isolated home these helpers are to create
config files with real content easily.