Added node-webkit packaging, started unit testing and various improvements and bug fixes