virttest.virsh: Implement pool_state_dict API

So that we can properly save and restore pool state
between virsh_pool_create test runs.

Signed-off-by: John Ferlan <jferlan@redhat.com>
Merge pull request #1413 from autotest/1236

PR 1236 remake