Complete the NIF API to 100%

With this batch of changes, all the enif_XXX
functions in the NIF API should be complete.