Add location module and use it to convert paths

Fixes Mop for Windows
Ignore error when creating symlink

for Windows
Make unused variables a JSHint error and fix them