MDL-1626 mod_forum: Add a function to determine if the user is subscribed to a discussion
MDL-1626 mod_forum: Per-discussion subscription toggling

Still needs JS implementation.
MDL-1626 mod_forum: Add unit tests for forum subscription changes