Remove `utils.timefunc` function

This is not used anywhere.

Change-Id: I189d9e45a91df42726048942e908e39872435872
Fix races in v3 cells extension tests

A global was used for a cell list and tests would update this global
and fail depending on order run, etc.

Yes, this is the same fix as commit bb2c3c5 except for the v3
extension. Yes, copied and pasted code is utterly evil. No, we
apparently will never learn.

Closes-Bug: #1235399
Change-Id: I3406d0440aed38cbf3a9bedf24420fb867876b08
Merge "Remove `utils.timefunc` function"
Merge "Fix races in v3 cells extension tests"
xenapi: refactor: move UpdateGlanceImage to common

During the review of https://review.openstack.org/41651 it was
recommended to move UpdateGlanceImage to a common library. A bug was
filed to deal with the refactors. This change fixes the first part.

Fixes bug 1220596

Change-Id: I95ae89525b7e6768c5a70364945d5a10cb906d88
XenAPI: Fix translation of metadetails in aggregates

https://review.openstack.org/#/c/43157/ added a translation from the sqlalchemy model to
the instance object replacing metadetails with metadata.

This added more traces in general for XenAPI (when we queried whether we were using
aggregates) and actually broke the host aggregate functionality

Change-Id: I87195753931945b6e1ecf75bc81575a6fa03068e
Closes-bug: 1232179
xenapi: post install scriptlet to rpm

A post install script that creates the /images directory on xenserver,
and sets up the trust relationship.

Change-Id: Id57e3a3ab2782550468c6aa4c01059ceb7cc81ab