Move create_zfs_pool to common test utilities module.
Move a bunch more common testing utilities into testtools.py.
A functional test for handoff.
Another realistic test.
Undo some unnecessary changes.
Lint fixes.
Merge pull request #407 from ClusterHQ/handoff-failure-396

Integration tests for handoff.

Fixes #406.