energy - On a single node only use the last task for gathering energy.
Since we don't currently track energy usage per task (only per step).
Otherwise we get double the energy.
energy - only zero out the previous value if new consumption is reported.
Merge remote-tracking branch 'origin/slurm-2.5'