BREAKING CHANGE: PluginAPI.setMode() has been removed. Instead, for a plugin to sepcify the default mode for a registered command, the plugins should expose `module.exports.defaultModes` in the form of `{ [commandName]: mode }`. close #959