save X11 window class when changing window name

Qt has internal logic to set X11 window class name.
It based (but not identical) on binary name.
It is important to not change class name.
It uses for window grouping and in some rules of some WMs.
Merge pull request #86 from drizt/upstream

save X11 window class when changing window name