Feature #3178 - upgrading forum subscriptions
- adding the possibility to subscribe to a resource represented by a Silverpeas primary key
- refactoring some code