Implement storing and calling function references
Merge pull request #5 from yast/add_function_reference

Add function references as type