code: function getTask(name) {
    if (!this.tasks[name]) {
      log.error(new Error('Task "' + name + '" is not registered.'));
      return null;
    }
    return this.tasks[name];
  }
docs: Returns registered task
  @param {string} name Registered task name
  @return {object|null} Damson task object