code: function loadRole(configPath, name) {
    return plugin.myrmex.fire('beforeRoleLoad', configPath, name)
    .spread((documentPath, name) => {
      // Because we use require() to get the config, it could either be a JSON file
      // or the content exported by a node module
      // But because require() caches the content it loads, we clone the result to avoid bugs
      // if the function is called twice
      const config = _.cloneDeep(require(configPath));
      const Role = require('./role');
      const role = new Role(config, name);
  
      // This event allows to inject code to alter the Lambda configuration
      return plugin.myrmex.fire('afterRoleLoad', role);
    })
    .spread((role) => {
      return Promise.resolve(role);
    });
  }
docs: [loadRole description]
  @param {[type]} configPath [description]
  @param {[type]} name       [description]
  @returns {[type]}            [description]