Style fixes and small adjustments in regular expressions used in
diaspy/settings.py
Changed fetching languages in diaspy/settings.py, setLanguage() now
raises exception instead of returning status code