qapi: add test-qmp-commands, tests for gen. marshalling/dispatch code