lib: extend command lib string parser

Extend cmd_make_strvec to support quoted string as a single slot and
commented string at the end of parsed string.