[task/composer-compatibility] Minor changes that will break extension BC

Iteration of #1718 that has the most urgent changes as this has all the big BC breaks so doesn't matter so much if it misses a1. There is no checking for the version number. I'll also do up a wiki article later on describing how to correctly use the composer.json file for extensions.

http://tracker.phpbb.com/PHPBB3-11840