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

for Freemarker outline plus some refactoring to avoid usage of
deprecated Prefence APIs.
It seems that getColor could be static, so it would be 
``` java
Preferences.getColor(PreferenceKey.COLOR_DIRECTIVE)),
```