fix(archive): Fix spiking action

SD-1172
feat(permissions): Roles/Permissions UI
feat(permissions): UI wiring for permissions
feat(activity): check permissions when returning activity

SD-1124
use form $dirty instead of custom impl
fix(roles): Show role in users table

Show error in users list if there is no role defined
Fix error in creating roles
feat(privileges): Add UI for extending user privileges
fix(users): fixing typos
[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
fix(privileges): hide privileges/role/type in profile

in case user has no manage users privilege

SD-1124
fix(privileges): style user privileges config

using same markup as on roles privileges config

SD-1121