Refactor: MaterialArchive is now a C++ class with a C wrapper API

Todo: Use the de::Uri's C++ interface directly.