Implement function definition statement (and add a _blockRepr helper function).

Not all features are supported yet.

Runtime functions now all accept the context as a first parameter.
Add simple functest.ycad