Feature/single instance app

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