JBIDE-17911 Make "full tree" vs. "funtions and macro defs." configurable

for Freemarker outline plus some refactoring to avoid usage of
deprecated Prefence APIs.
Why not: (1) That is a decision of the original author and (2) I myself find the parser code better readable like this. The empty if block is properly commented and that matters.