MathML Parser: Improved handling of nested mstyle

Before this patch, the mathvariant would propogate downwards and pollute nested
style elements. These would be needlessly styled which cluttered output
code. We also do not select a style unless one is explicitly selected by the value in the mathvariant.