Add list_projects / list_tenants method to OpenStackIdentity_2_0 class.

Also re-organize fixtures in directories based on the API version.
Update OpenStack driver to map more node states to states recognized by
Libcloud.

Patch by Chris DeRamus.
Add support for HTTP proxy to LibcloudHTTPConnection and
LibcloudHTTPSConnection class.

User can specify which HTTP proxy to use using one of the following
approaches:

* by setting "proxy_url" environment variable (global / process wide)
* by passing "proxy_url"  argument to the Connection class constructor (per
  connection instance)
* by calling "set_http_proxy" method on the Connection class (per connection
  instance)
Update CHANGES.
Fix broken test and invalid variable declarations.
Allow user to pass proxy_url argument to Connection class.
Add missing variable assignment.
Fix a typo in the example.
Add new base paused node state.
Update Node.__repr__ to display a friendly name for the state attribute.
Update HTTP proxy code so it supports basic auth authentication.
Update cURL lines to include proxy basic auth information (if available).
Update proxy support so it also works with Python 2.6.
Add missing "set_http_proxy" method to the base Connection class
Improve URL validation, update docstring.
Fix a typo.

Spotted by Brian Johnson.
update linode plans mapping

Closes #351

Signed-off-by: Tomaz Muraus <tomaz@apache.org>
Resolve a bug introduced by the original fix of the issue.

1- Add separated verifications for "None" and malformed metadata.
   A clear error will be raised upon malformed metadata.
   If undefined or already None, we assume None.
2- Provide comments explaining the odd GCE dictionary format.
3- Perform check on metadata dictionary structure. We expect one "items" key
   and a tuple of arbitrary values.
4- Prefix the keys/values provided by a simple dictionary by "items" if not
   found, enforcing point 3's structure.

Closes #353

Signed-off-by: Tomaz Muraus <tomaz@apache.org>
Adds the following methods for the Softlayer driver: - list_key_pairs() - get_key_pair() - import_key_pair_from_string() - delete_key_pair() - create_key_pair() (only if Pycripto is installed)

Adds tests for all new methods.
Modifies the test_create_node() to use an ssh key.
Adds a new property on the Softlayer node "ex_keyname"which is the name of the key to be associated to the new node.

Closes #354

Signed-off-by: Tomaz Muraus <tomaz@apache.org>
Correctly categorize node public and private IP addresses when dealing with
OpenStack floating IPs.

Patch by Andrew Mann and Tomaz (tests).