Merge pull request #22 from dklyle/master

Fixing tests to work with keystoneclient v0.2
Turn log level down for failure on delete token.

Delete token is not a published Keystone API, and deleting an expired token might also cause an exception. Instead of logging an error, this should fail silently and log it as just info so that it won't be flagged as error in the application.
Merge pull request #23 from linhuacheng/patch-4

Turn log level down for failure on delete token.
Support custom redirect url from the 'switch' view

The 'login' view currently accepts a parameter specifying the
URL to redirect to after a successful login (via ?next=). This
adds the same support for the 'switch' view by reusing a couple
of lines of code from the Django login view.
Merge pull request #24 from conkiztador/switch_redirect_to

Support custom redirect url from the 'switch' view
Bump version for new release.
Allowing for more complex combinations of permissions.  Will check for
logical AND of all top level permissions.  Will use logical OR for all
first level tuples (check that use has one permissions in the tuple)

Allows users with different roles to access a panel, while a user with
a third role won't be allowed to access the same panel.

Examples:
    Checks for all required permissions
    ('openstack.roles.admin', 'openstack.roles.L3-support')

    Checks for admin AND (L2 or L3)
    ('openstack.roles.admin', ('openstack.roles.L3-support',
                               'openstack.roles.L2-support'),)