Integrating client

Client has now been integrated with node-webkit, and will from now on
continue developement there. This means that all networking will go
straight through nodejs 'net', instead of using WebSockets.