Ignore tests and dotfiles for npm.
Pass through options object. Fixes #16.
Update documentation.