Moved Util.maskVersion() to the XmlaBaseTestCase, since it's a test util...

...ity and shouldn't be outside of testsrc.  Also switched to using a regex replace to avoid some possible false matches (when the version string appears in other contexts).

(cherry picked from commit 38f5d67)