Added app scaffolding

All node apps require a README.md file, an entry point and a package.json file.
Configured grunt & mocha

I needed to configure grunt to both lint my javascript and run my unit tests with mocha. This required finding a node module to integrate grunt with mocha, as well as misc. configuration details.
Added unit test logic.

I needed a way to test the module, but didn't have any tests written for use with grunt and mocha.
A refactor/bug-fix

My module.exports logic for the module was unnecessarily complicated, especially since this is supposed to act as an example. Also, there was a bug the unit tests discovered that needed squashing.