detection of multiple instances using flock.

sending RAISE_WINDOW leap event if we are not
the main instance.
remove duplicated ensure_server
Merge remote-tracking branch 'kali/feature/single-instance-app2' into develop

Conflicts:
	src/leap/gui/mainwindow.py