Issue 5417: unenroll does not remove subscribed group forums

Ticket Link : http://atutor.ca/atutor/mantis/view.php?id=5417

I get the list of groups the user is already enrolled in using $_SESSION['groups'] and then use the sql queries to remove group forums subscriptions and group forums' post subscriptions.