Fix https://github.com/julianhyde/optiq/issues/113, "User-defined scalar functions".

A scalar UDF is defined by a class that has a single method called "eval". If the method is non-static, the class must be instantiable using a public 0-parameter constructor.