Check added name
This MR adds diffing of the app's package.json
before and after installing added components, so that the correct name of each added module is added to the config files.
At the same time it fixes a race condition that was caused by promises accidentally being run in parallel.