Tidied up SQL formatting in SQL panel.
Tidied up SQL formatting in SQL panel.

Added formatting of "GROUP BY" and "HAVING", which now show up in trunk queries
and could have shown up previously if manually patched into the QuerySet.query
instance.

Also indent joined tables a bit more underneath the "FROM" statement: they are
sub-statements of "FROM".

Signed-off-by: Rob Hudson <7e09c9d3e96378bf549fc283fd6e1e5b7014cc33@cogit8.org>

calvinpy/django-debug-toolbar,Endika/django-debug-toolbar,calvinpy/django-debug-toolbar,spookylukey/django-debug-toolbar,tim-schilling/django-debug-toolbar,barseghyanartur/django-debug-toolbar,guilhermetavares/django-debug-toolbar,lincolnloop/django-debug-logging,django-debug-toolbar/django-debug-toolbar,msaelices/django-debug-toolbar,ChristosChristofidis/django-debug-toolbar,seperman/django-debug-toolbar,pevzi/django-debug-toolbar,lamby/pkg-python-django-debug-toolbar,guilhermetavares/django-debug-toolbar,ivelum/django-debug-toolbar,jazzband/django-debug-toolbar,ivelum/django-debug-toolbar,guilhermetavares/django-debug-toolbar,seperman/django-debug-toolbar,megcunningham/django-debug-toolbar,ivelum/django-debug-toolbar,lamby/pkg-python-django-debug-toolbar,alex/django-debug-toolbar,sidja/django-debug-toolbar,tim-schilling/django-debug-toolbar,sidja/django-debug-toolbar,peap/django-debug-toolbar,binarydud/django-debug-toolbar,stored/django-debug-toolbar,alex/django-debug-toolbar,barseghyanartur/django-debug-toolbar,django-debug-toolbar/django-debug-toolbar,peap/django-debug-toolbar,calvinpy/django-debug-toolbar,django-debug-toolbar/django-debug-toolbar,ChristosChristofidis/django-debug-toolbar,megcunningham/django-debug-toolbar,spookylukey/django-debug-toolbar,stored/django-debug-toolbar,tim-schilling/django-debug-toolbar,seperman/django-debug-toolbar,jazzband/django-debug-toolbar,ChristosChristofidis/django-debug-toolbar,pevzi/django-debug-toolbar,jazzband/django-debug-toolbar,stored/django-debug-toolbar,sidja/django-debug-toolbar,megcunningham/django-debug-toolbar,lamby/pkg-python-django-debug-toolbar,spookylukey/django-debug-toolbar,Endika/django-debug-toolbar,Endika/django-debug-toolbar,barseghyanartur/django-debug-toolbar,binarydud/django-debug-toolbar,msaelices/django-debug-toolbar,peap/django-debug-toolbar,pevzi/django-debug-toolbar,lincolnloop/django-debug-logging