Adding npmignore

Excludes example/ and test/ directories, as well as anything git
related.