Support for node webkit

The following commits add support to use with node-webkit together with an example of how to use it.