Add support for activity loop filtering with BP Groupblog.

Previously, when filtering the activity loop according to a user's followed
sites, BP Follow did not take the BP Groupblog plugin into consideration.

This commit adds support for BP Groupblog activity items by directly
manipulating the MySQL query when we are querying by followed sites.

Props @boonebgorges for the subquery idea.

See #48.