Remember the last chosen tag in the resource selectors
This also fixes a memory leak: the KoResourceTaggingManager objects were never deleted because the parent QObject was never set.
BUG:346703