Refactor exceptions to include complete 'response' object for sake of RateLimitError handling in clients. + some pep8ness