revert find unused declarations algorithm

SyntaxConstructClassifier returns file-based colorization first, then project-based
extract finding unused declaration logic out from GetAllUsesOfAllSymbolsInFile to GetUnusedDeclarations