Fix red-pill when given no command-line argument

Was using the undefined argument rather than the defaulted
project.dirName
Rename clearPath to cleanPath and shorten

Use path.normalize
Capitalize an HTTP method in a comment