TNL-301 Filter posts by group_id.

https://openedx.atlassian.net/browse/TNL-301

@gwprice @jimabramson Please review.
added `preferences` to the doctstring.  thanks!