[DBTablesHost] Add a new method: upsertHostgroup().