virsh.domstate: Add cases for on_crash action testing

Signed-off-by: Yanbing Du <ydu@redhat.com>
Merge pull request #240 from will-Do/domstate_crash

virsh.domstate: Add cases for on_crash action testing