Handling window resizing

Added handling of resize events. Game will keep a fixed portrait aspect
ratio and keep the content centered, while the rest of the screen will
simply have a background.
Merge remote-tracking branch 'origin/master' into gh-pages