Don't underline URLs when mouse reporting is on
Only underline and open URLs that are either valid Trouter paths or contain a slash and use URL characters. Fix bug where getWorkingDirectoryAtLine ignored the last entry in workingDirectoryAtLines. If trouter strips out everything in the path, leaving just the working directory, decline to open the working directory.