Fixed tests file to adher to havana internal api #11

(cherry picked from commit 2c3e60fa133ff58e98253bc1a3624af94871a6e9)

Conflicts:
	tests/test_middleware_voms_authn.py
Improved testing so that we only run the module's tests
Merge branch 'stable/havana'

Update master branch with changes from Havana
Update Havana/2013.2 refs to Icehouse/2014.1
Make tests work on Icehouse
Remove patch for rendering exception

This change removes a patch that was introduced so as to render properly
the exceptions as an WSGI response, since the change is now in Keystone.
Explicit import of '_'
Use correct API when getting the project

The get_project_by_name belongs to keystone.assignment.Manager and
not to keystone.identity.Manager.
Don't add a cert to the chain if it's a CA cert
Fix indentation
Merge pull request #5 from verdurin/master

Don't add a CA cert to the chain

Under certain circumstances the plugin failed with the following error:

    (17, Generic verification error)

Adam Huffman found that what was failing was the serial number check. It
always seemed to be 256, instead of the correct serial number. Eventually
they realised this was because the CA certificates were being included in
the chain.
Minor update on documentation

Homogenize the keystone host/port in documentation examples.
Update VOMS link in documentation
Update documentation to point to icehouse

Move referentes to uyse icehouse instead of havana.
Merge pull request #25 from alvarolopez/stable/icehouse

stable/icehouse