Prepares for new statements-as-macros system

* `install` (formerly `import`), `run`, and `save` are all now functions
* help strings are generated automatically
* math.knuth function added
* diagmatrixlist and rowmatrixlist automatically guard against nulls