Fix for Issue 205: use 'component.json' instead of config.json when parsing packages

This probably needs to be revisited once #39 (bower.json) gets resolved.

I hope this change does not introduce any unintended side effects. Can anyone with a deeper understanding of the code base comment?