Add Scope, IScope and ScopeBuilder. Remove QualifiedReference.