Add support for ZMQ.

It is now possible to publish generated template output to a ZMQ publisher.