Bulk permissions

This PR makes possible for an administrator to set bulk permissions from any *search page.
Every resource has (for administrators) a checkbox to select it.