== Deleting a comment removes the reference from the Group/Recommendation and then marks the Comment element as "deleted".
SynchronizeClient:
== Now deletes elements if they are NOT referenced and sets the correct SyncResponseCode. It had been executing isReferenced(...) and only deleting if it returned true.
CommentTypeDAO:
== Now looks at both the application_id and the comment_id when checking references. It had been just looking at comment_id's which are not unique amongst Applications.
CommentHelper:
== Correctly checks if a comment is referenced from a Recommendation or a Group.
UpdateTransactionManager:
-- Removed a bunch of unused code.