issue #3228: Reconstruct the Callfunc create method to support std::function and add callFuncND + auto remove lua test case