Fixed problems in settings.py

Slightly altered to work properly with python 3. Redesigned search for
.violarc file to work in Windows and Linux. Fix bug with width and
height values.