Find deprecated objects through types.Package
Find deprecated objects through types.Package

Don't iterate over all selectors in the AST to determine deprecated
objects. Instead, iterate over the package-level objects directly.

Again, no speed improvements, but allows for easier performance tweaks
in the future.

Updates gh-55

dominikh/go-tools,dominikh/go-tools,dominikh/go-tools,dominikh/go-tools