Use the gyp way of including dependencies

This way njsutil will actually build before use. Better because I hate
defining functions in headers.
Move function bodies to src/

Yeah. That feels better.