TNL-301 Filter posts by group_id.

https://openedx.atlassian.net/browse/TNL-301

@gwprice @jimabramson Please review.
Then how do you want to test "There's currently no test case that checks that an empty course in an otherwise non-empty digest is not included." ?