Metadata: moved MaterializedTable to RawView, removed HostMaterializedTable, added Mapper to VMView. Fixed tests.