Mopidy.js on Node.js

After a request in #356 I've made Mopidy.js work on Node.js and published an early "mopidy" package to the npm registry (https://npmjs.org/package/mopidy). This pull request includes the changes needed to make this work.