Use group_id if present when getting user thread and comment counts.

TNL-543
Merge pull request #122 from edx/christina/bug-tnl-543

Use group_id if present when getting user thread and comment counts.