Add application object for storing configuration information

This is only the first use of the `app` object. Asset loading, i18n,
gamesaves, and scene management are all planning on going through the
app object.
Merge pull request #1023 from hawkthorne/globalapp

Add application object for storing configuration information