Add CloseDeviceEvent to be catched when Irrlicht is closed
Add registerListeners method for scene
Application is now stopped by ALT-F4

Merge branch '3d' into application-base

Conflicts:
	src/main.cpp
Merge branch 'application-base' of https://github.com/stevenremot/tlsd-prototype into application-base