CLN/API refactor drop and filter and depreciate select

WIP for #4818

- need to unify api for drop and filter
- should they take args for regex (regex, flags, case)
- should we keep select or filter?