Fix incorrect Unit enum value.
Add getnetworkhashps command to RPC API
Add networkhashps to getmininginfo outputs.