Bug fix - corrected detection of relative paths in import function.

Original check was using "path.sep" (which is undefined) instead of "Path.sep".  Also, the check failed to catch absolute paths in Windows when the path starts with a drive letter (ex. "C:\folder\file.js").
Merge pull request #1885 from sarme/master

Bug fix - corrected detection of relative paths in import function.