Implementation of native function api is now consistent with the XPVM
documentation. Still need to read in list of native functions so they
can actually be dynamically loaded.