Added built support for node-gyp
Fixed various compile warnings and valgrind hints
Merge branch 'master' into webdas