Update settings.py to fix bug #2

Fix inspired by Fale. I Just :
- changed the location of the fix in the code (now in settings.py and not in manage.py)
- add os.path.normpath() to avoid OS annoying issues
- add an if statement to avoid redundancy in the os path list.