Make mediawiki::extension Composer-aware

Change-Id: If2eb33abd0cc022bc7013e17b0f0b5319a163dc4