Added CommonJS support

Verified in the node repl (e.g. `var Raven = require('./dist/raven')`).

Not covered by automated testing--I couldn't figure out a testing approach given the current design.

Fixes #197.