Fix bugs:
* \" -> \' in tc help
* segfault when `setopt delim=''`
Also rewritten tc_buf.* (Now tc_buf is simple memory buffer,
if you want to have tc_buf as string buffer use tc_buf_str_* functions)