Convert several anonymous inner classes that implement the Calc interface into named inner classes. This gives them meaningful names for EXPLAIN, and those names won't change when code is re-ordered. Fixes MONDRIAN-1716, "Sanitize anonymous inner class names in EXPLAIN".