Simple functions in Myrial

As per:
https://github.com/uwescience/myria/wiki/Design-for-stateful-apply#wiki-rfc-1-andrew-dan-and-dominik

No integration with stateful apply yet.