add zmq_curve_keypair to zmq_utils
use zmq_curve_keypair in curve_keygen
return NULL and set EINVAL on bad z85 input

asserts aren't appropriate for checking user input.
Merge pull request #691 from minrk/curve_keygen

Expose zmq_curve_keypair via zmq_utils