reports: SQL API enhancements

Allow arithmetic expression for metrics.
Allow underscores in aggregate columns.

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>