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 #1773 from owncloud/issue/1772

Activity + Reader: undefined index and missing argument upon search