[SD-1123] Wiring up the preferences service to return privileges
fix(privileges): Change field names

role.permission > role.privileges
fix(privileges): Separate settings UI for roles and privileges

and add default role field
feat(privileges): Wire user privileges UI
fix(role): Disable unselection of default role
fix(role): Improve role editing
feat(privileges): expose user privileges via $rootScope

SD-1124
feat(privileges): get privileges via preferences service

SD-1124
feat(privileges): start loading privileges when being used

whenever privileges is injected it will start loading privileges
via preference service.

SD-1124
feat(privileges): setup privileges for existing activities

SD-1124