add ICCCM information to WM selection/check windows

  - add WM_NAME, WM_COMMAND, WM_CLASS and WM_CLIENT_MACHINE to
    the selection window (which is the same window as the
    _NET_SUPPORTING_WM_CHECK and _WIN_SUPPORTING_WM_CHECK windows).