Trends report was broken due to 2 major changes: * the new format of atomic actions. * the new format of task config This patch fixes both issues and enables trends functional test as well. Change-Id: I56ec707704c36cad287d1cb01f20705c9e2cc51d