Add dependency injection to siatest package
Created by: ChrisSchinnerl
This PR adds dependency injection to the siatest package by adding fields to the NodeParams
for each module's dependencies. If the field is not set, a production dependency will be used instead.
e.g. a renter node could be created like this:
template := Renter("path/to/my/renter")
template.RenterDeps = myCustomDeps
renter, err := node.New(template)