Add namespace prefix constants to clean up code

Define refs, ref, xsd, owl, mml, and mrs namespace prefix constants to
make code easier to read.