Add NativeFunction object wrapper

This allows native library functions to be passed from Ccc code
into other native functions.