Replaced Makefile with npm test script and added co-mocha
Modified API to return an object with both the output and err properties