factorized PHPUnit publisher in a macro

The 'phpunit-junit' publisher macro abstract out a definition that was
used for both mediawiki/core and operations/mediawiki-config.

Change-Id: I3eb432c8436b269439932f4adf7a23035db5dae0