Fix EZP-20193: Change RoleAssignment->role to ->roleId for cache efficiency

Definition of irony and a perfect example of premature optimization:
This is effectivly a revert on a change I did 4 months ago to improve performance in Public API,
because we didn't have cache at the time only way to improve performance was to reduce number
of calls to database by doing more in each call.