Update to user role management

Update tree-view directive
Updata add/edit modal
Merge remote-tracking branch 'nikola/sprint8-update2'
Fixed ingest preview bug in which user loses url parameters on close.
Changed entity.js to make constructing custom urls possible.
Changed sdWithParams directive to accept data-exclude attribute.

SDUX-92
Update2 to roles management

Remove tree view from basic roles list
Add parent in preview
Use role._id instead of name for users.
Update3 to roles management

Introduce disabled permissions on parent change
Merge remote-tracking branch 'ozan/ingest-preview-fix'
Update assign role to user box

Add some styling and functionality to select box for user roles
Merge remote-tracking branch 'nikola/sprint8-sdux85'
Fix sd-select directive and simplify code which was using it.
Added user-permissions service and sdUserPermissions directive.
Changed how permissions are registered (not via activity provider anymore).
Changed user settings page.
Changed userPermissions service and sdUserPermissions (not finished).
Removed debug code.
Added user-roles permissions.
Cleaned up.
Completed userPermissions service and sdUserPermissions directive.
Merge branch 'sprint8-update2' of github.com:nidzix/superdesk-client into user-permissions

Conflicts:
	app/scripts/superdesk-users/controllers/settings.js
	app/scripts/superdesk-users/views/settings.html
Role managment - merge Ozans branch

Fix few small issues
Add sd-check directive instead of standard checkbox
JShint fix
Merge remote-tracking branch 'nikola/sprint8-update2'
Add ie compatibility checks into jshint.