[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