Stable6: Add missing subjectparams and messageparams to SELECT

Fix #1772
Fix missing 5th argument for OC_Search_Result in activity and reader

Fix #1772
Merge pull request #1775 from owncloud/issue/1772-stable6

Issue/1772 for stable6