Moved keypair management to separate class

- curvezmq_keypair
- each codec instance owns a keypair instance
- one place for serialization to/from text files