Add testcases for security groups

Adds tests for those GET API functions that accept params

List_security_groups Nova API

Skip security groups list by 'all_tenants' search filter test
if neutron is enabled because neutron do not support 'all_tenants'
search filter.

Change-Id: I5867acd03c3d184911281c673ce804455f269f57
Partial-Bug: #1086590
avoid resource leaks in keypairs tests

this does some code refactor, uses addCleanup to
avoid resource leaks. and import the module test
instead of attr.

Change-Id: I188bec7dda2cd0f180252a9844e378bb2f8ff6da
Adds ping method to remote client

Allowing pinging via ssh host.
Pushing this because many new patches are using this (at least 3 of mine)

Change-Id: I48931e968e76a24658bcda298e98f3a40c8358d1
provide a valid utf8 multibyte test for nova images

this only works for json because getting our xml client to be
fully utf8 compliant would be *a ton* of work.

Change-Id: I5e2f05274aaa6a2eb97b6206240ffd44e9f12526
Related-Bug: #1006725
clean up invalid_multibyte test

This cleans up the invalid_multibyte test to make it more clear
what it is trying to do, which is send an invalid utf8 sequence as
an image name (it should fail with a 400, it currently passes with
a 202).

Change-Id: I58ad059a138ae96201bbf50df0c22bf259ae9716
Related-Bug: #1006725
Merge "Adds ping method to remote client"
Merge "provide a valid utf8 multibyte test for nova images"
Merge "clean up invalid_multibyte test"
Merge "Add testcases for security groups"
Merge "avoid resource leaks in keypairs tests"