Add linting, unit tests and update README

I've added linting with JSLint, unit tests with Mocha and expanded the README to describe the specification of module when initializing the module.  I've also expanded the command options parsing to be more specific and give better error messages, for those trying things out for the first time.

Fixes #2, #3, #4 

@jankolkmeier Any comments/concerns?