Add block "confirmations" to getblock, mainly for identifying orphans
Second parameter to JSON-RPC getblock/gettransaction: decompositions
This is an Object specifying how to decompose specific elements. Currently supported:
- "tx": "no", "hash", "hex", "obj"
- "script": "no", "hex", "asm", "obj"
Note that this depends on pulls #841 (sipa/getalltransactions) and #885 (luke-jr/getblock_cleanup), so the diff includes those until they are merged.