cleanups

Rename PICK to SELECT and remove SELECT convenience wrapper.
Export cache clearing functions.
Remove COLUMN-NAMES and COLUMN-TYPES code.