lock around torconfig creation
wrong indentation fixed
unit-test for socks-port errors, and fix logic
a few more cleanups
doc and release-notes updates, re-work examples a little, add endpoints examples to docs
use inlineCallbacks to remove more callbacks-chains
pep8 cleanups
add weak-ref'd access to TorConfig