[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
Is writing javascript vars into javascript files from within python considered good practice?