Move implementation of IdentifierScope into class

And out of CodeAnalysis
Move FindDeclarationScope out of CodeAnalysis

Replaced calls to IdentifierScope constructor with calls to a
GetIdentifierScope function.
Move tryFindIdentifierDeclaration out of CodeAnalysis