Indenting; doc comments; getHomepage(node) and getExactTermPage(node).

Some modest restructuring to avoid that giant "get(node)" method. Standardized on 4-space indents. Added comments.