add error reporting to tools, and link memcached_strerror into library