Detect tor port even in developer mode

Detect tor port even in developer mode so that PANDA can run properly under TBB.  There was an issue because PANDA runs over tor even in developer mode, but TBB uses port 9150 rather than the default tor port 9050.