Fixed broken tests. Reworked XmlContext to abstract loading xml save.
Reworked xml save model. Initial tests for xml save.
Fixed registrations. UI still uses InMemory context.