Add curry, uncurry and curry3, uncurry3 functions to Core_kernel.Fn.