Change output format so that it's a little bit easier to postprocess the "legend".
Change the PAPI counters to use an HPX spinlock to avoid deadlocking (or rather,
livelocking).
Actually instantiate the cumulative phases counter.