Fix IPAddress and CIDR type decorators

Use load_dialect_impl() user hook instead of calling
with_variant() on a type implementation in IPAddress
and CIDR type decorators. This makes this code work
with SQLAlchemy 0.8.x versions.

Fixes bug 1200231

Change-Id: Ib0eb582f472116bda817d3e35e26888dc116ad58
(cherry picked from commit cd382933eb5b6b09f34398cf2c963164bc5b6fc7)
Add HEAD api response for test s3 server BucketHandler

Current nova test s3 server lacks HEAD for BucketHandler. And it becomes
an issue for Boto after version 2.25.0 [1], which changes underlying
implementation of get_bucket method from GET to HEAD request.

This change fixes this gap by adding HEAD response to test s3 server.
And also added cases for testing bucket existence per Boto document
suggestion[2], which applies for both Boto prior to or after version
2.25.0

[1] http://docs.pythonboto.org/en/latest/releasenotes/v2.25.0.html
[2] http://docs.pythonboto.org/en/latest/s3_tut.html#accessing-a-bucket

Closes-bug: #1277790
(cherry picked from commit 033f3776c4bc6d0db14b1b9da7c24e207e9628ab)
(cherry picked from commit 2abcc4e04c9838d1130ef18c0efd697cc8cc6918)

Change-Id: If992efa40f7f36d337d1b9b1f52859aa0ae51874
Merge "Fix IPAddress and CIDR type decorators" into stable/grizzly