Refactored ToolKey to handle getPath and getFlags; updated HLint to use flags.