Fix issue where none root composer.json could be used by ArtifactRepository http://www.php.net/manual/en/ziparchive.locatename.php#85512
Improved variable name.
Fix parse error thrown in PHP5.5+

When running composer update the file generated by AutoloadGenerator was
not able to be parsed by php due to a require statement inside the foreach
loop.

The fix is to make the statement work the same as the
autoload_namespaces.php require is done.

Issue occured using the following php versions

PHP 5.5.1-2+debphp.org~precise+2
PHP 5.5.3-1+debphp.org~precise+2
As preparation for composer plugins, rename custom installers to plugins
Implement a plugin manager and interface, update installer plugin tests
Plugin tests are no longer strictly installer tests
Load installed plugins at appropriate time and adapt tests accordingly
Turn EventDispatcher into generic solution handling plugins as well
Add an EventSubscriberInterface which may also be implemented by plugins
Fix typo
Plugins receive composer and io objects on construction already
Fix plugin interface usage in tests
Autoload dependencies of plugins using a pool of only the local repo
Add back --no-custom-installers option with a deprecated warning
Make composer/io part of the activate plugin API rather than constructor args
Correct authorship info for files I edited
Rename PrepareRemoteFilesystem event to PreFileDownload
Complete missing docblocks and fix incorrect ones
Fix disabling plugins which has to happen in the factory now
Revert constructor arguments to old order for custom installers