Add pre-status-cmd and post-status-cmd hooks
CGL fix
Merge pull request #2138 from sascha-egerer/feature/add_status_event_scripts

Add pre-status-cmd and post-status-cmd script hooks
Generate an autoload_files.php next to autoload_namespaces.php and autoload_classes.php
Factor the filesCode generation into a separate method.
autoload_files.php should return an array of files, instead of directly including them.
Merge pull request #2139 from donquixote/feature/autoload-files-corrected-1

Feature/autoload files corrected 1
Slightly nicer heredoc in AutoloadGenerator::getIncludePathsFile()
Merge pull request #2141 from donquixote/feature/autoload-generator-heredoc

Slightly nicer heredoc in AutoloadGenerator::getIncludePathsFile()