This MR is the next step towards FileContract recovery. It scans the blockchain for contracts and will add them to a slice within the contractor for recovery. This slice is accessible using the API which is useful for figuring out which contracts are stuck in recovery.
The followup to this MR would be adding the actual recovery to
threadedContractMaintenance where we periodically try to recover contracts until they are recovered or expired.