Pulled out the logging functionality from zookeeper.c to zk_log.c/.h. Fixed a minor issue with PING responses being put on the completion queue rather than simply dropped. Make use of DLL_EXPORT symbol for building shared lib on cygwin