Converts tor config tests Serverspec -> TestInfra
Converts tor config tests Serverspec -> TestInfra

Major workaround in place here: checking the tor service running and
enabled states via low-level, sysv-specific shell-outs, rather than
leveraging TestInfra's `Service` module. The Service module incorrectly
assumes the tor service will be managed inside `/etc/init/tor`, as an
Upstart service, which isn't true. Read the Service source code and
reimplemented the checks described there.

The service checks will break if run against a systemd-style host, but
that's fine.

garrettr/securedrop,micahflee/securedrop,heartsucker/securedrop,heartsucker/securedrop,conorsch/securedrop,garrettr/securedrop,heartsucker/securedrop,garrettr/securedrop,micahflee/securedrop,ehartsuyker/securedrop,heartsucker/securedrop,ageis/securedrop,micahflee/securedrop,ehartsuyker/securedrop,ehartsuyker/securedrop,ageis/securedrop,garrettr/securedrop,ehartsuyker/securedrop,micahflee/securedrop,conorsch/securedrop,conorsch/securedrop,heartsucker/securedrop,ageis/securedrop,ehartsuyker/securedrop,conorsch/securedrop,ageis/securedrop,ehartsuyker/securedrop,conorsch/securedrop