Update SRF 'format=graph' to use GraphViz extension version 1.1+.

Also update SRF composer.json to suggest mediawiki/graphviz.
Use $GLOBALS['wgParser'] instead as we don't want to expose `global $wgParser;` to other objects