[FEATURE] Added support for console events
[BUGFIX] Added correct return code.
[BUGFIX] Added event dispatcher support and added test for composer init command.