Address various lint related bugs, typos, and hints

Including adding support to the TCL uninitialized variable reader to ignore
class-static variable access as well as detect inline functions and their
closure arguments.
Rewrite advanced search for better performance