Adds initial mocha tests and test skeleton.
Defines module export in common.js format
for node package.
Adds makefile for running tests.