re-apply pep8, import ordering, etc.

This mostly fixes contrib, but also addresses some config ordering in
the latent slave redirection modules.

validate.sh is fixed to not continue on ctrl-c.
Register txrequests sessions for destruction on reactor shutdown

As suggested by @tardyp in https://github.com/buildbot/buildbot/pull/1123
Merge branch 'master' into nine