adding npm test config
extracting get-output into a separate file
adding mocha
fixing lintspaces errors
adding lib to validation tasks and fixing lint errors
test passes!
fixing file names
fixing require error
Merge pull request #2 from NickHeiner/npm-test

Adding in test suite.
Fixed some minor jscs errors.