Change to phar.phar to create PHARs instead of using PEAR library

added websocket for log area + Add LoggingHandler to send log messages to WebSocket clients