Refactor Tor plugin factories
This branch refactors the Tor plugin factories to reduce code duplication between the Android and Unix factories, prior to adding a Windows factory.
BridgeTest is modified to use different ports from Briar Desktop so they can be run on the same machine without conflicts.