Support config file.

Add --pettycoin-dir, and read config file from there first.

Rename --generate= to --generator= too (we'll use --generate as a flag
on whether to generate or not, later).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>