code: function(config, baseUrl){
              var pluginIds = system.keys(config);
              baseUrl = baseUrl || 'plugins/';
  
              if(baseUrl.indexOf('/', baseUrl.length - 1) === -1){
                  baseUrl += '/';
              }
  
              for(var i = 0; i < pluginIds.length; i++){
                  var key = pluginIds[i];
                  allPluginIds.push(baseUrl + key);
                  allPluginConfigs.push(config[key]);
              }
          }
docs: Configures one or more plugins to be loaded and installed into the application.
  @method configurePlugins
  @param {object} config Keys are plugin names. Values can be truthy, to simply install the plugin, or a configuration object to pass to the plugin.
  @param {string} [baseUrl] The base url to load the plugins from.