Added commands to generate reports from database and base command class

see https://github.com/allegro/django-bob/blob/develop/bob/csvutil.py