refactoring settings.py

 - adding documentation
 - reordering and grouping
removing space, causing WARNING: Inline literal start-string without end-string