Make require('dc') work in node

Fixes problems loading the module in node.
Merge pull request #138 from bewest/topics/npm

Make require('dc') work in node