Adding library to programmatically handle btcd, btcwallet and btcctl processes.

I thought you also need to connect to the other instance with: "--connect=localhost:" + cd0.Listen or something similar. Also, if you need to mine, don't you need "--generate"?