Add docs for testing and a note for jenkins settings.

Also clean up some docs errors and
make jenkins.py nicer when run without
jenkins.sh.