nmdc.c: Added escaping and unescaping for some strings
nmdc.c: Added escaping and unescaping for some strings

It is unclear to me in what order the strings should be encoded/decoded
and escaped/unescaped, but I'm assuming the escaping/unescaping should
happen in the hub encoding. At least that actually guarantees that no
$&| get passed through unescaped.

Tilka/ncdc,srijan/ncdc,Tilka/ncdc,srijan/ncdc,srijan/ncdc