[ticket/11271] Removed in-line attachment comments properly.

Added a new regex to remove in-line attachment comments.

PHPBB3-11271
[ticket/11271] Fetched feed attachments before loop.

Fetched feed attachments before looping through feed items and
send them to method 'feed_generate_content' for each feed item.

PHPBB3-11271