Adding tests and fixing role assignments links

Tests for revoking an inherited role and fixing the links on the
role assignments representation.
Fixing pep8
Merge branch 'list_inherited_roles_backup' of https://github.com/rodrigods/keystone into list_inherited_roles_backup