merge recent and iCloud documents correctly

It was mixing file paths with QSObjects. Now it combines two arrays of QSObjects.

fixes #1396