Removes the old Stakes implementation in favor of the new Collateral implementation.
It also creates a JSON file with addresses of the deployed contracts.