Move psphere-vm to dictionary code into a new class GuestMapper. Add tests for exception handling in Guests and logging.