check erl_nif_version when loading NIF
Implement process-related NIF APIs

- enif_self
- enif_is_pid
- enif_send
- enif_get_local_pid

The caller of enif_self can only use the returned
pointer for the duration of the NIF call; otherwise
she will have to store the pointed-to value.