Adds lambda support in node

It is now possible to schedule lambda functions in Node::schedule()
No need to subclass
Merge pull request #8551 from ricardoquesada/adds_lambda_support_in_node

Adds lambda support in node