Validator development.

- Split libguestfs initialization apart from FUSE mounting.
- Add docstrings.
- Ensure FUSE filesystem is unmounted before exit (to prevent
  'Transport endpoint is not connected' errors).