Added Core.Tests as a formal test project.

Made some more tests pass by fixing the code or the test, as appropriate.
Disabled formatter tests since they won't run locally under the current configuration.  It's not that the tests themselves would fail, it's that the setup for the test is no longer valid or is only valid for specific system configurations.  These tests should be reworked so they can be enabled again.