Issue#27: C interface implementation

following issue #27
Consistency. Sometimes we return NULL when there is no string data sometimes we return an empty string! This must be unified. Look for all functions returning `const char*`. Return empty string (`""`) not NULL.