Generate more useful errors when MI commands fail
Generate more useful errors when MI commands fail

Also change callback signature to '(err, data) => void' as this is the
one most commonly used in NodeJS.

enlight/dbgmits,enlight/dbgmits,enlight/dbgmits,enlight/dbgmits