Move status colouring to cli.
Move JENKINS_URL env variable handling to lib/jenkins instead of the clients.
Improve test coverage.
Add documentation on programmatical usage.