Fix another coverity issue in memcache
Fix missing va_end in json.c
Implement refcounting in Sdb for namespaces