Add .npmignore file

Closes #15
Tweak closure that wraps the serialized output

This has no affect on app code, it's merely a rename of a local variable
from `g` to `root`.
Bump version to v1.0.3