Bugfix/stop application

This also includes the pull request from fdiller adding the python servers to forward the video.
Isolated zmq related objects in one thread (mostly relevant when starting the broadcast server).
Fixed and updated a few tests.