iquik: clean up command parsing

Generalize iQUIK commands, removing manual parsing.

Signed-off-by: Andrei Warkentin <andrey.warkentin@gmail.com>