[SD-1092] Added privileges for the endpoint.
[SD-1118] Add atribute to role to indicate default role
[SD-1092] Fixing the behave test.
[SD-1092] Modified the resource privileges dict to have HTTP verb as key.
Merge remote-tracking branch 'andrew/feat-privilege' into feat-privilege
[SD-1063] Global search returns facets
[SD-1122] Authorization with privileges
[SD-1123] Preferences end point returns active privileges
Merged