Add suspend subtest for qemu guest agent test

This pullreq is mainly about to introduce a subtest for suspend support in qemu guest agent module, besides some bugfix for guest agent module.
Note, this pullreq needs the pullreq #340, so please review that one first. If you want to try this patch, please merge these 2 branches together.