Addes NetworkParams as a parameter to DeterministicKey serialization/deserialization.
Move NetworkParameters to first argument in DeterministicKey serialize/deserialize methods, it's more conventional that way.