Fixed more versioning issues

Although the nodewebkit npm package tracks the same versions as node-webkit, it can also have patch/build versions which we need to filter out.
Merge pull request #27 from badsyntax/version_fixes