Update sts_commons_forum.module

Reworking the 'if ($node->type == "group"' bits to use the OG method: og_is_group_type($node->type).

Also, re-indented the file so that it conforms a bit better to coding standards.