bunch of new builtin functions

Adds a bunch of new builtin functions.  I suspect we may end up making changes to some of these eventually, but this should at least get levelbuilders on blocked.

I have to take off right now, but will be on later tonight to address any feedback.