Filter listaddressgroupings

My old patch for coin control converted to a pull.

- Added ability to filter empty groups and empty address from listaddressgroupings output.
- Output an object that's easier to work with than an array of different types.