TNL-301 Filter posts by group_id.

https://openedx.atlassian.net/browse/TNL-301

@gwprice @jimabramson Please review.
the second argument to `.get()` could be omitted - it defaults to `None` anyway.