New CLI functionality: delete old calculations

Addresses https://bugs.launchpad.net/openquake/+bug/1117052.

https://github.com/gem/oq-engine/pull/1067 should land first for a clean diff.

The number of files change is high because I did a little bit a of cleanup to a test helper method.