User permissions

Added user-permissions service and sdUserPermissions directive.