@EApplication now stores the app instance as a static singleton

See #228.

@EApplication now stores the app instance as a static singleton, so that it can be retrieved from anywhere in the app.