Update test_networks.py to v2 of Quantum API

Fixes bugs in the test suite tempest.tests.network.test_networks that prevents
Jenkins gate-tempest-devstack-vm-quantum-full to execute succesfully. The
problem was that the test suite was using v1 of the Quantum API, which
according to the "Quantum API Guide (V2.0)" has been removed from the code
base. Please see note at bottom of:

docs.openstack.org/api/openstack-network/2.0/content/Overview-d1e71.html

The test suite was patched to use operations supported by v2 of the Quantum
API. This required patches in the following files:

1) tempest.common.rest_client was patched to provide the correct end-point for
v2 of the Quantum API

2) tempest.services.network.json.network_client was patched to support create,
delete, list and show operations for the 3 basic abstractions offered by the
Quantum API: networks, sub-networks and ports

3) tempest.tests.network.base was patched to create a network and a subnetwork
using v2 Quantum API operations.

4) tempest.tests.network.test_networks was patched to invoke v2 Quantum API
operations. Individual tests invoking obsolete operations were eliminated

Fixes bug 1131458
Fixes bug 1159229

Change-Id: I320c46f2a42d8fd9dbfd496e8f357e21eb1c9259
(cherry picked from commit cc939612b3aaff0acbe51e2175cd39b9c080f858)
Add tests list the availability zone

* Admin user is allowed to both list and list detail
* Regular user is allowed to get list
* Regular user is not allowed to get list detail

Partially Implements: blueprint missing-tempest-tests

Change-Id: I9d23c6677dcf4f4ba57e90097baeca374031604d
(cherry picked from commit a527891ee107c514775117c43ac8a809619a2f43)
Tests for os-hypervisors API extension of Nova

Tests against following paths are added:
os-hypervisors
os-hypervisors/detail
os-hypervisors/%hyper_id
os-hypervisors/%hyper_name/servers
os-hypervisors/statistics
os-hypervisors/%hyper_id/uptime

Implements: blueprint nova-os-hypervisors-api-extension-test
Change-Id: Ia209b113d0193720b445385e0fe399b81f48bb4b
(cherry picked from commit 3d5f16331cc1a88479fc60853ea08533775a3b38)