[FIX #5525] Attribute table performance for large tables
The selection handling performance has been improved a lot
Introduces also more detailed signalling of selection change from QgsVectorLayer