Writing comment for tor_gethostname().
Documenting mock functions.
Whitespace fixes.
Delete commented-out line.