Added support to composer.json, fixed licence format and temporarily changed type to mediawiki-extension

Change-Id: I563b287be671f0e4f15b3838756e21cddf6d3132