This contains most of the changes of #10563 “remove safe mode” by @achow101, but doesn’t remove the safe mode yet, but put an ObserveSafeMode()
check in (all 23) individual calls which used to have okSafeMode=false.
This cleans up the ugly “okSafeMode” flag from the dispatch tables, which is not a concern for the RPC server.
Extra-author: Wladimir J. van der Laan laanwj@gmail.com