duchain: ignore non-container-like declarations when path is qualified
when a use needs to be added for a path like foo::bar::baz() and a local
variable called foo exists, we wish to ignore the variable since we are
looking for either a namespace or a class/enum type