Pluggin wrapper added

The plugin function has to take a zmq subscriber socket (blocking
socket) as first argument
It will be run in a new thread and has to manage the infinite receiving
loop
Added scheduler function to js in see server demo