Implemented select for relations and related tests. Fixed union of tuples to disallow duplicate schema names. Fixed printing of relations containing text.