bug #127 Fix undefined property error (umpirsky)
bug #127 Fix undefined property error (umpirsky)

This PR was merged into the 3.0.x-dev branch.

Discussion
----------

Fix undefined property error

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| License       | MIT

This PR fixes bug `Undefined property: Composer\Script\CommandEvent::$getIO` in `clearCache()` and `installAssets()` handlers.

Commits
-------

fd82012 Fix undefined property error

sensiolabs/SensioDistributionBundle,sensiolabs/SensioDistributionBundle,HeahDude/SensioDistributionBundle,HeahDude/SensioDistributionBundle