Expose test of whether NSApplication.Init() has been run

This test will facilitate frameworks like XWT, to keep code more generic for multiple platforms which need to call Init at different times during an application session (e.g. Mac XWT widget in a Mac app, as opposed to Mac XWT widget inside of a GTK app).