Simplify some bits of logic
Group global imports at the top
Simplify more code by restructuring a bit
Add initial support for Python 3 alongside 2
Fix the last few pep8 warnings
Add HS torrc template and network configuration

This adds a network with an HS service bound to port 6000 that serves
port 22 on your local machine.

The hidden service is node test025h and the hostname can be found in
"$dir/hidden_service/hostname".

To start the network, use the "hs" network.

Fixes #13934

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Merge remote-tracking branch 'mvdan/master'
Merge branch 'master' of https://git.torproject.org/chutney into bug13823-fast-bootstrap