Refactor|Materials:: Throw de::Error exceptions from Materials::validateUri

Plus minor cleanup.