[MONDRIAN-1572] Add the ability to use with clause with subqueries in
Mondrian, this allows single execution of subqueries in databases such as
Vertica.