add correct version of dependency to component.json when installing
Merge pull request #225 from karlbohlmark/master

Add correct version of installed dep to component.json
Merge branch 'master' of https://github.com/component/component