[PATCH] Treat generation (mined) transactions less different from receive transactions

- Show address receiving the generation, and include it in the correct "account"
- Multiple entries in listtransactions output if the coinbase has multiple outputs to us

This is from a diff of commit 0050cf21ce2a3a3c032817e661f813ccaf25f430 from litecoin, updated to apply cleanly to dogecoin