configure/czmq/zmq: check for authentication-related functions available

this tests both the czmq and zmq libraries.
Merge pull request #297 from mhaberler/zmq-test

configure/czmq/zmq: check for authentication-related functions available