FORUM-541: UnsupportedOperationException when deleting or adding attachments


Problem analysis:
* During the update of a topic/post, the attachment cache data are inserted to topic/post object.
  These data are fixed-size Lists and therefore don't allow "add" or "remove" operation.

Fix description:
* Wrap attachment cache data by ArrayList when updating Topic/Post object.