Major refactoring of existing onCreateNode/beforeDeleteNode(fm:post) behaviours. They now distinguish between
1. increment/decrement of previously rolled-up commentCounts
2. full recalculation of comment count for nodes that have no previous rollup (which would include nodes from pre-Swift repos).
Added a new registered behaviour: onUpdateProperties(fm:commentsRollup) in order to detect fm:commentCount being set to a "trigger value".
If this property is set to a negative number, then a full recalculation of the commentCount for that node will be performed.
New test cases for preSwift content & the recount trigger.
Added a skeleton (placeholder) CommentService to hold some comment-related methods I needed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28666 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261