Add functionality for per-group-forum subscriptions

This PR adds functionality for per-group-forum subscriptions as well as notifications and mails on all new replies in group forums. New functionality needs to be activated on settings screen. Should be fully back-compat with the old system if new functionality isn't activated.