Creates the Application class as the app delegate.

Originally there is only an Application class for Android. Now the Application is designed as the app delegate for every platform.

Every moui apps should subclass the Application class and instantiate it in the moui_main() function. Once instantiated, call RegisterMainApplication() to register it as the main application.

Signed-off-by: Olli Wang <olliwang@ollix.com>