Adds test for Sec group default rule Nova V2 API

This patch adds the test for below 'os-security-group-default-rules'
Nova V2 APIs-
- Create Security Group default rule
- Delete Security Group default rule
- List Security Group default rule
- GET Security Group default rule

This patch also adds the new json client.

Related-Bug: 1311500

Change-Id: Icf52a64b5719587cd02b906f3a0f8d17886241aa
Check rescue_server action attributes of Nova APIs

This patch adds the JSON schema for Nova V2 & V3 rescue server
action APIs response and validate the response with added JSON schema
to block the backward incompatibility change in the future.

For V3 API, "admin_password" in response body is depend on config
variable "enable_instance_password". So schema and request
is adjusted accordingly.
NOTE - V2 rescue API's response does not on above config variable.

The response body of rescue server V2 APIs is below:
{
    "adminPass": "%(password)s"
}

The response body of rescue server V3 APIs is below:
If CONF.enable_instance_password is true-
{
    "admin_password": "%(password)s"
}
Else
    {}

Partially implements blueprint nova-api-attribute-test

Change-Id: I85f18eaa58bfef1871100816f97487f9fa9bc0ee
Avoid errors in log when neutron tests are skipped

The BaseNetworkTest class setUpClass() method will initialize
various class attributes which the tearDownClass() method
expects to exist. Unfortunately when Neutron is not
available, the entire of the setUpClass() method is skipped,
but tearDownClass() still runs. This causes the logs to get
polluted with errors about missing attributes during
tearDownClass(). eg

ERROR tempest.test [-] tearDownClass failed: type object
 'DHCPAgentSchedulersTestJSON' has no attribute 'ipsecpolicies'
TRACE tempest.test     for ipsecpolicy in cls.ipsecpolicies:

Make the tearDownClass() code be conditional on neutron
being enabled too.

Change-Id: I042ca5c47e5c1e8d1042754fd7f36036a40b2f03
Fix javelin2's skip logic in checks

The create logic always requires the top level section in the yaml file,
but it can be empty.

Change-Id: Ia06bba8877be1cf4e66dad21eaeb2a323bf9f9b5
Fix skip_path logic if path part is empty

This was the case for the image client.

Change-Id: I5568bf6781ad57524c033868c2ab9f2ba4bb566d
Merge "Adds test for Sec group default rule Nova V2 API"
Merge "Fix javelin2's skip logic in checks"
Merge "Avoid errors in log when neutron tests are skipped"
Merge "Check rescue_server action attributes of Nova APIs"
Skip test_rescope_token

There are several problems with revocation events in Keystone and
the test is currently failing on postgres. There's several fixes
proposed in Keystone to fix these but until they're merged this
test isn't working.

Change-Id: I9182d542fae0b4a5280dc482300203f84c8f4d8c
Closes-Bug: #1351026
Merge "Fix skip_path logic if path part is empty"
Merge branch 'master' of https://github.com/openstack/tempest

Conflicts:
	tempest/api/network/base.py