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.
Merge pull request #1 from ngld/Nepenthes-develop

Rebase