Interface for intrusive platforms.

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

On normal desktop platfroms, the app interface can be used by using the
glwt_intrusive static library.