[zaphod-v0.4][issue-0.4-002]: Skeleton for copy file.

FEATURE
issue-0.4-002-scp-support

SYNOPSIS
[modified]m42/test/test_zaphod.py: Skeleton unit test for copy_file.
[modified]m42/zaphod.py: Skeleton for copy_file.

DETAILS
Empty skeletons for copy_file and unit test for it. This function
will be implemented in full in a later commit.
[zaphod-v0.4][issue-0.4-022]: Allow disabling of bridging tests.

FEATURE
issue-0.4-022-allow-disabling-bridge-tests

SYNOPSIS
[modified]m42/test/test_zaphod.py: Skip some tests if bridge-interface:none.
[modified]m42/test/yaml.conf: Comment explaining usage of bridge-interface.

DETAILS
The following tests end without testing if bridge-interface in yaml.conf
is set to none:
  * test__bridged_host_adapter
  * test_login_parameters_bridged are

These tests require that a VM be started on a bridged interface.
[zaphod-v0.4][issue-0.4-002]: Implemented slurp utility function in test.

FEATURE
issue-0.4-002-scp-support

SYNOPSIS
[modified]m42/test/zaphodtestutil.py: Implemeted slurp utility function.

DETAILS
slurp reads in the contents of a file into a string.
[zaphod-v0.4][issue-0.4-002]: Implemented copy_file.

FEATURE
issue-0.4-002-scp-support

SYNOPSIS
[modified]m42/test/test_zaphod.py: Unit test for copy_file.
[modified]m42/zaphod.py: Implemented copy_file.

DETAILS
Implemented Zaphod.copy_file. This copies a file from a host machine to
a VM. This is needed to bootstrap provisioning in future.
[zaphod-v0.4][issue-0.4-002]: Test file for testing copy_file.

FEATURE
issue-0.4-002-scp-support

SYNOPSIS
[new]m42/test/test.txt: Test file for testing copy_file.

DETAILS
A test file named test.txt is needed to test that copy_file works.
The contents of the file do not really matter. It needs to exist
and preferably not be empty.
[zaphod-v0.4][issue-0.4-001]: More robust implementation of getvminfo in test.

FEATURE
issue-0.4-001-host-shared-directories

SYNOPSIS
[modified]m42/test/zaphodtestutil.py: More robust implementation of getvminfo

DETAILS
Getvm info breaks on some VMs because of the way the lines returned
by showvminfo are parsed. This implementation is more robust and
also store integer values as integers in the returned dictionary.
This implementation will form the basis for improving the _vminfo method
in zaphod.py.
[zaphod-v0.4][issue-0.4-001]: Robust implementation of _vminfo.

FEATURE
issue-0.4-001-host-shared-directories

SYNOPSIS
[modified]m42/test/test_zaphod.py: Modifications for changes in _vminfo output.
[modified]m42/test/zaphodtestutil.py: Make getvminfo consistent with _vminfo.
[modified]m42/zaphod.py: More robust implementation of _vminfo.

DETAILS
This makes Zaphod._vminfo more robust. (Although somewhat slower.)The
earlier version was breaking on Macs for some types of VM. The
implementation is almost identical to getvminfo implementation in
commit 474a6d9.  However, the conversion to int valuse has been
dropped.  All values are string. This makes dealing with the
output of _vminfo easier. Also There are no quotes surrounding
either keys or values (Unless the quote is part of the value or key
itself.).  So code that encloses keys in quotes has been changed.