data libraries: introduced three visible share states for datasets in libraries private(only the current users private role has access)/restricted(not private and not non-restricted)/non-restricted(there is not a single role in the access set of roles)
also callback on modal hide() to call router and modify URL, some other minor fixes, pep8