Tor updates
- Refactor module into separate files.
- Add services for socks port (internal) and bridge ports (external) to open ports in firewall.
- Refactor configuration so it can be done with 1 action and avoid redundant restarts.
- Run configuration as background task (Fixes #294 (closed)).
- Have background task check that correct ports and/or HS information is available before finishing. This fixes an issue where the name services module was not being updated correctly after HS enabled.