set full properties on selection and check windows

These properties are now set on selection window, and
in addition to other properties on the check window:

  - set WM_NAME
  - set WM_CLASS
  - set WM_COMMAND
  - set WM_CLIENT_MACHINE
  - set _NET_WM_PID
  - set _NET_WM_NAME

Selection window properties are set before the MANAGER
message is sent for selection WM_S%d.