Add unit tests for group meta_query when queries with the same 'key' are joined by OR

This query is failing when the 'compare' operator is 'LIKE'.

See #5874

git-svn-id: https://buddypress.svn.wordpress.org/trunk@9021 cdf35c40-ae34-48e0-9cc9-0c9da1808c22