Fixed issue with non-components using "component" flag in json

Hi, there!

I'm not sure if this was successfully set to you yesterday. It's a simple fix for a problem I ran into.

-joel
 
When non-component files use a "component" flag (see cartalyst/sentry as an example),
the component-installer script would start throwing errors like this:

> Script ComponentInstaller\Installer::postAutoloadDump handling the post-autoload-dump event terminated with an exception

> [ErrorException]
> Argument 2 passed to ComponentInstaller\Process\RequireJsProcess::aggregateScripts() must be an array, string given, called in <project>/vendor/robloach/component-installer/src/ComponentInstaller/Process/RequireJsProcess.php on line 109 and defined

This fix removes everything it can identify as a non-component from the list of packages.