[cppmyth] Implements missed protocol commands

- QUERY_CUTLIST
- QUERY_COMMBREAK
[cppmyth] Prefer shared pointer

Transfer shared pointer instead copying.