Inicializes the NameResolution service object by loading up all the references and populating the list of imports. The NameResolution object handles converting lazy naming such as "Console.WriteLine" to things like "[mscorlib]System.Console::WriteLine(string)"