fix problem with stat in gdt functions

Keep the complete name of the parameter including the statistical
function itself.
Implement gdt reduce function using gdt expr parser
Switch to new gdt plot implementation based on expressions
Fix error report message in gdt expression parser