Merge pull request #12 from vogdb/issue-12

Use Mocha test framework instead of nodeunit one
Merge branch 'master' into issue-17