In Cheb_Node replace function pointer with functor.

Users can now use derived classes of this functor class (Function_t) to
pass custom evaluators for tree construction.