App interface for intrusive platforms.

Add an "app" interface for intrusive platforms like Android and iOS that
do not use normal main() application entry point or have a mainloop
function never returns which must be called by the app.

On normal desktop platfroms, the app interface can be used by calling
glwtAppMain in main().
GLWT Android NativeActivity