nwnvsetenv: prefix nw routines

Prefix nw routines.
nvsetenv: merge nwnvsetenv code

Merge all code into a single file.
nvsetenv: add Makefile

Add Makefile.