Gh362 comment icon propagation

propagation for flags and icons (both for comments and sync), using common logic + test classes for both
Don't delete this code, this was added by Valentina; maybe there was a problem during merge?