Documentation|MaterialVariant: Improved apidoc for MaterialVariant

Plus further minor cleanup refactorings.