Rebased version of #5107.
- update for RPC methods added since 84d13ee: setmocktime, invalidateblock, reconsiderblock. Only the first, setmocktime, required a change, the other two are thread safe.
- remove no-longer-used threadSafe column from RPC table
- remove duplicate invalidateblock and reconsiderblock from RPC table