added new calculation

A custom computations was added for the QED workshop. This required
some new customizations for the calculation engine. All tests are
working and the code should not be too insidious. Also added the
time region print out to the metadata file.
Merge branch 'dynamic-percentiles' into dev