Since the problem in SI-6758 is fixed, it's ok to move checking for unused imports to Analyzer. This allows the check to be used in the IDE.
Remove unused symbols and imports from the library.
Merge pull request #2195 from vigdorchik/lint_library

Changes around lint