Move getnetworkghps to rpcblockchain.cpp. Remove getblocknumber.