Fixing #305: JDK6 path now properly detected on x64 Windows.

Also removing dependency on node-winreg for Windows platforms, as we now invoke
REG directly. This is to avoid an unfortunate bug in that module.