add legacy middleware
woops
add more middleware
check for membership
re-indent
fix some imports
update some names
fix middleware
doc updates
pep8 cleanup
fix keystoneclient tests
be more safe with getting json aprams
termie all the things

Change-Id: Ib7b5fab2a09de8a9dcad8d8b0cf71c529e944f8c
Add tests for core middleware

* Partially fixes bug 928039

Change-Id: I3807bcc77ab424c73069889b65b1a5598c17011c
Fixes role checking for admin check

Change-Id: I6afe52033996b56aa38033017e0ce2f37c471592
Add s3_token.

Add s3_token middleware originally written by Akira YOSHIYAMA.
Make it works with new swift_auth.
Make not necessary modification to swift3 middleware.
Handle errors when connecting to keystone.
Address termie's comment in reviews.

Change-Id: Icb2ae3fe79296ee6415dd55d146339ab72dd1d46
Update swift token middleware.

- Update swift middleware which add features:
    - Leaves authententication to token-auth.
    - ACL.
    - Container-Sync
    - Referer.
    - S3.
- address termie comments on reviews.

Change-Id: Iefaa228015d6286e4fb05be2cc24aec01589ef58
Merge "Add s3_token." into redux
Added Apache 2.0 License information.

Fixes bug 932819

Change-Id: I58e0c2ad704e2e8ff1924a01791694a5e02a154b
Update docs for Swift and S3 middlewares.

- Rename SwiftOperator variable to lowercase swiftoperator along the
  way.
- Remove reference to swift.cache as this is not working in our
  tokenauth version.

Change-Id: I5dfbc872f7d9d71417f45cdd0ac46c3efbe2f731