added option to flag notebook as deleted - that flag gets returned with query
notebook: fixed sort, disallow delete of 'view' only notebooks