Various fixes for away message handling

This makes away message handling more stable and reliable.
Merge remote-tracking branch 'upstream/master' into away-message-fixes

Conflicts:
	src/gs-manager.c
	src/gs-window-x11.c
Merge pull request #37 from City-busz/away-message-fixes

Various fixes for away message handling