commandhandler: fix @end for parse*Arguments() helpers

If we have offset we need to substract it from command length.
commandhandler: fix incrementing m_commandOffset in parseArguments()