Add ability to evaluate KAS expressions that reference functions

E.g., parse f(4+8) given f(x) = 4x:

> KAS.parse("f(4+8)", {functions: ["f"]}).expr.eval({f: "4x"})
48

Test Plan:
Ran the new tests in test.html

Auditors: alex