Various updates to Mopidy.js

The attached changes should make Mopidy.js more debuggable without breaking any backwards compatibility. Documentation have been updated to encourage patterns that help getting better error reporting.