Feature/single instance app

Implements unix and window locker classes,
and a qsocketnotifier that monitors a socket where window management commands can be sent.
Relates to Issue #2060.