Updated composer handling in reinstall

`composer.lock` is now versioned by Magento so I believe it shouldn't be deleted.

Also, there is no `setup/composer.json` anymore so I removed the code related to this.

Feel free to edit the commits as needed.