Use window manager for full screen display and implement toggleFullScreen method
Add missing include file
Move fullscreen toggle handling

Move fullscreen toggle handling to the sames places as in the Windows implementation

Followup to 143d40a
Don't stop updating the screen if the mouse is not moved
Fix segmentation faults on exit

Make sure the threads have joined the main thread before terminating the
system thread and the program - otherwise threads may access ressources
already deleted by other threads.
Implement simulation of ESC key

Following the logic of the Windows version simulate an ESC key press
event when the user closes the window.
Merge remote-tracking branch 'remotes/origin/master' into laenion

Merge with upstream to resolve merge conflict

Conflicts:
	Dagon/DGSystemUnix.cpp
Implement handling of function keys (F1..F12)
Merge pull request #52 from laenion/laenion

Laenion