Cleanup settings and few pep violations

1. Moved ``thumbnails.conf.settings`` to ``thumbnails.conf``
2. Cleanup few  pep violations