Add `table_privs_are()`.

First cut at adding functions to test privileges granted to users on objects.
Issue #34.