Made Diff fully standalone from MediaWiki

The tests can run be run without having anything MediaWiki loaded :)

Change-Id: I055659ac7135fbbe44e7c76a3ade3153442bac0a