XD-1106: Read column names from result set metadata

The names are cached in the RowMapper on first use and used to create
the tuple.