On Windows lib/detector.js not adding trailing slash when needed.
Normalize windows paths correctly
Merge pull request #11 from sterpe/master

lib/detector.js not properly normalizing pathname in Windows.