Port hypervisor API into v3 part2

This patch contains the changes required to adapt the hypervisor
extension and the corresponding unittest to the v3 framework.

Partially implements bp v3-api-extension-versioning

Change-Id: I3d98f8a9accf35fdecf67416813bb685e6d54edc
Merge "Port hypervisor API into v3 part2"