Move API functions, headers into c-etcd.h