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

for Freemarker outline plus some refactoring to avoid usage of
deprecated Prefence APIs.
Do we really need this? Let if fail and then we know there is a problem that should be fixed.