Don't configure the tor DirPort options if the node is not an exit (#6335)

Change-Id: I4c7fb20b6da6f6a5bb2dd5af70511a28d4581174
Only enable the tor DirPort options on an exit if the node isn't also a
webapp node (#6336)

Change-Id: Ib70bbd8fe7b94b7a1bfb09390d5dd1c535f2da16
minor linting, arrow lining up

Change-Id: Ibd08529b7d1c4fc22bcd0ca36e518afa5b8f6d24
tests - added test that creates user, authenticates, deletes user
Merge remote-tracking branch 'elijah/newtests' into develop