Minor changes to make certificates test cases use HTTPRequestV3

The existing certificates test in v3 API version test correctly
but it use HTTPRequest keyword inside its test cases and has v2
keyword. Though it will not affect the test, change to HTTPRequestV3
will be helpful in the future.

Change-Id: I0992152e56a3f5b5972e48cb6cda16ef39cacdd2
Fix import order in log_handler

Change-Id: I206adc29163a6e36501bf1d157f50ca2d0867507
Remove unused variables in the xenapi.vmops module

The local variables "current_chain" and "ctx" are assigned to but
never used.

Change-Id: I25bacd728bc5e00d768656c0b2aa657a2effda73
Hyper-V log cleanups.

There were some cases where we could do a better job of passing the
instance through to the logging engine in a more consistent manner.

Change-Id: I4f97a04a24cd935d8bebe56d9984c54f84f9fb20
Merge "Minor changes to make certificates test cases use HTTPRequestV3"
Merge "Remove unused variables in the xenapi.vmops module"
Merge "Fix import order in log_handler"
Merge "Hyper-V log cleanups."
Stub get_meminfo to prevent reading /proc/meminfo

We don't want to read from /proc/meminfo while running tests. It
isn't pretty and it only works on Linux.

Change-Id: Ifbf47e0c0faebf6b52139c2b38b673a7b9310d2f
Closes-Bug: 1284990
Lowercase all image names for Docker driver

Docker repository names must be lowercase. When
an image is requested or a snapshot is created,
the requested name should be lowercased such that
it may be gven a valid name in the Docker registry.

Adds tests for snapshots and get_image_name.

Change-Id: I97b281d30454e33ba32e428901bb5da58400308f
Closes-bug: 1284761
Support get_host_uptime in docker driver

The host uptime method is quite simple to support
and is low-hanging-fruit toward getting Tempest passing
and increasing the scope of API compatibility for the
Docker driver.

This change pulls get_host_uptime into a new hostutils
module using this method from both libvirt and docker.

Change-Id: I2e64af19c9849562390a232b3406eef235a369b8