$last_qry added for easier debugging
Problems with inconsistent field name handling fixed
DBTable::columns_by_attribute implemented
primary added to column data