Add Serialize method to PrivateKey.

ok @davecgh