[WIP] Nodewebkit

#910 

Tested on Ubuntu 14.04 only. 
Code for Mac included.

1. Websockets will not connect from nodewebkit. Stuck at connecting.
2. Nodewebkit install needs a secure source
An alternative idea is to export these values as a json config file which can then be loaded by javascript - then we gain that we dont need to have wsip and wsport in the global namespace.