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

A new folder will be created each time with path /tmp/btcd(random_string).
I thought about that, but deleting by default maybe is not a good idea, users might want to use the generated data or look at the logs, but I should probably add an option to clean up.