Turn CDB_TableMetadata into a view, restricting visibility

Only tables on which the querying user has SELECT privilege
would come out.

CDB-1828 #404