added command manage.py gensql to generate sql for all installed apps