code: function(name, pluginobject) {
      var pluginNameWithoutPrefix = util.removePluginPrefix(util.removeNameSpace(name));
      if (pluginobject.rules) {
        rules.import(pluginobject.rules, pluginNameWithoutPrefix);
      }
      loadedPlugins[pluginNameWithoutPrefix] = pluginobject;
    }
docs: Add a plugin by passing it's configuration
  @param {string} name Name of the plugin.
  @param {Object} pluginobject Plugin configuration object.
  @returns {void}