Fixed off-by-one error in function outline position tracking (#337).
Added local/global indicators to function outline (#337).
Added collapsing outlines for files in inactive tabs (#337).
Updated parser to report function token before parameters (#337).

This fixes local/global handling of functions with parameters in the
outline.
Fixed focus switch after selecting a function in the outline and editing (#337).
Fixed flicker in the outline when auto-complete is shown (#337).
Updated outline to track filename changes after `Save As` (#337).
Fixed activation in `tree:FindItem` when new editor tab is opened (#166).

It incorrectly activates the root element, which was introduced by be323d55.