Update getblock and getblockheader RPCs and rest to return hex encoded block versions, e.g.:
"version": "0x01"
"version": "0x20000000"
Reason is similar to #7763: "The decimal printing of block nVersion is not very readable in a versionbits world."
My only apprehension is that this could be disruptive to people that have script relying on this output. But, I'm not aware of any guarantee that this will not change.
I purposefully chose 02 instead of 08 in order to get a smaller encoding when possible.

