UniValue: use correct setNumStr() input val, when setting number values
UniValue: compact (!pretty) output should not include extra whitespace
UniValue: add unit tests
UniValue tests: use more BOOST_CHECK()
Merge pull request #4730