In custom queries, add the possibility to group by ''reporter''.
Closes #4433.
Authored by: cboos 2008-07-22
Parent: [r7373]
Child: [r7375]