Added a function to State which returns a list of all defined
values/functions matching a prefix. Modify the tab printout to
display 5 of these results.
typing in a string like "4 + sqrt(5)" would cause a crash
because in the middle of typing "sqrt" the evaluator would
treat 's' as an operator and try to compare it's precedence
to the precedence of '+'. The precedence function did not
match all patterns and this adds an otherwise case.