Add support for nodejs Buffer.

Tested with node-qunit and nvm for older versions. The tests pass with
nodejs >= 0.7.0.

This should fix the issue 46.
Throw an error when adding an unsupported object

This fixes #54.
Merge pull request #57 from dduponchel/nodejs

Nodejs support and isue #54