Added tests for the case of a mustache function
Fixed the mustache context to handle the case of functions and methods
Fixed the case of a templates with lambda functions
Small clean up