(+) Implement renamed aggregates

(/=) fix getQualifiersForIdentifier
(+) more tests : now test aggregates, nested queries