Define USE_SSL in horizon's local_settings.py if needed

grep for USE_SSL before sed'ing, and just append "USE_SSL = True" if
there's nothing to sed.

Fix a crash when running syncdb for horizon.