Fixed exports bug if node-encdec is being used in the browser.
Added devDependencies for nodeunit.

devDependencies added, and the 'test' command updated to run nodeunit from the local ./node_modules folder.

nodeunit can now be installed by running:

    npm install