Style nitpick: const& instead of just &
Synchronize KLinkItemSelectionModel with upstream.

This includes the fix commited in Review 111953 which adds proper
support for synchronizing the currentIndex. Potentially this fixes
bugs in Gammaray, like the oscillation of the remote selection model.