Restore Composer hook providing MediaWiki version

Restores the Composer hook integration first implemented in
I8df66a92971146ab79cd4fcbd181e559115ca240 to composer.json.

Change-Id: I708f619d2de8a760eaaeaf6be54d8ae0db1b18d6
Merge "Restore Composer hook providing MediaWiki version"