[SD-1092] Added privileges for the endpoint.
[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