Added is_child flag to xlib window and "--nogl" option test application

  - is_child flag is used to hackishly check whethe an unmap event
    should be handled
  -> Fixes window-close-on-desktop-switch and window-close-on-minimize
     bug
  - "--nogl" option disables usage of OpenGL in test program