[Acl] altered the behaviour of RoleSecurityIdentity

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: 5026
Todo: -
License of the code: MIT
Documentation PR: -

Implemented the change I documented in ticket #5206: the constructor checks for an instance of RoleInterface rather than Role.