Add new "getmininginfo" JSON-RPC method, with mining-only fields moved out of "getinfo"