Changed object reference equality tests to use InternedKey instead, but commented it out because the source of the problem was that the frontend was unnecessarily copying the metadata model. Left the comments in so we can find those places again and fix them if we decide to change from using object reference equality.
Created a separate solution for Zvonimir's analysis, updated the project files to point to a directory where the version of the infrastructure it depends on can be on the disk.