Complete websocket server integration

 - Introduction of internal pubsub communication
 - Added example HTML page for testing websocket connection
 - Completed tests for websocket server
 - Introducted websocket server to manage Primus setup