Some tests for the client
Refactor signing out of the client, add more tests
Add treq as a requirement so we don't have to make our own requests via the agent
Finish tests for the client
Fix use_client example
Merge branch 'tests_and_refactor'