Move contract responsibilities into HostDB
This is part of a larger effort to transition from one-off contracts to persistent host relationships, managed by the HostDB.
Related goals: enable easy parallel uploads in the renter, simplify lock management, refactor with mocking in mind
Next steps: explore changing file memory layout (to enable simpler repair algorithms), implement persistent host relationships, parallelize uploads