Early Settings work
NEW DEP :
  -pyglet 1.2, not yet in Ubuntu repo

NEW FEATURES :
Added support for fso://settings links
Added a settings window.
  Status :
  -can read and write video settings
  -can read bin setting
  -can read sound settings

TODO :
  -Move the code so that it can be accessed from the full fs2mod-py
  -complete write functions for bin and sound
  -maybe add network settings
  -joystick read and write settings
  -per mod command line (store cmdline.cfg, if a custom cmdline for this mod exists, use it, if not, and if a preset command line in mod.ini exists use, this, else use default command line)

KNOWN ISSUES :
  -no splash screen if we launch fs2 from the settings window
  -encoding issue (accents in the openal device strings)
  -segfault with primusrun... caused by pyglet

TO DISCUSS :
  -pyglet 1.2 is great but still in alpha stage/pygame is fairly common but...
  -pygame misses openal features. If we want to use pygame, we'll need openal bindings
  -primusrun/optirun handling ? (pyglet crashes with primusrun)
Better audio settings support
Settings : joystick support
Some fixes. Added initial network settings.
Network settings : full support.
Small splash fix.
Mostly style fixes
Integrate the new settings window. (WIP, Doesn't work yet!)
The settings window finally works.

Changes from Nepenthes' version:
* Removed pyglet dependency (use ctypes instead).
* Fixed OpenAL bindings.
* Added proper Joystick support through SDL (and ctypes).
* Replaced ConfigParser with QSettings to avoid problems with python 2
  (it has a different and more basic implementation).
* Moved the code into its own class in windows.py to make it more re-usable.
Add support for SDL2.
Fixed some Windows issues.
Implement fs2_failed and fs2_quit signals.
Win* registry compatiblity patch
Hopefully this improves dash compatibility.
Add "FS2 Settings" button to the main window.