Add dumpprivkey call support

Adds specific handling of the dumpprivkey call, ensuring the address is converted to a string on input, and the result is wrapped as a BitcoinSecret.