Cleanup patch.

Add tests for real.
Add .npmignore and .gitignore.
0.1.1