FIX #10: require comment debug generates backslashes.
Gruntfile formatting

Make gruntfile pass JSLint
Escape backslash in RegExp creation

Added RegExp escape function, escape path.sep to prevent error on
Windows