Include group titles in search

When searching for messages only simple threads matching the contact
names are returned as search results. With this commit also group
converstations where the group title matches the search term are
displayed in the result. This makes search results more consistent with the
conversation list as now all conversation titles (i.e. contact names and
group titles) are searched through.

Fixes #1954
When putting it in the query string it results in the following exception:
```
android.database.sqlite.SQLiteException: near "%": syntax error (code 1): , while compiling: SELECT * FROM groups WHERE title LIKE %?%
```