Fix role validation using new Expression class

Removed _search_in_settings (seems to be unused now).
Fixed test_assignment_validator.py

Change-Id: I3c5e8fa6c8165e0fb75f09829d98b8cad5166410
Closes-Bug: #1373109
Merge "Fix role validation using new Expression class"