Add interface to register external functions (closes #10)
change output scheme for contexts example
Merge pull request #56 from hpicgs/register_external_functions

Add interface to register external functions (closes #10)