[ticket/12928] core.mcp_reports_gather_query_before

Adding the core.mcp_reports_gather_query_before
event to mcp backend.

PHPBB3-12928
[ticket/12928] Update to RC4

PHPBB3-12928
[ticket/12966] Sort posts by post_id in addition to sorting by post_time

This should make sure that posts with the same post time are properly sorted
on database backends like postgres.

PHPBB3-12966
[ticket/12966] Sort by post_time and post_id where applicable

This change was not applied to the search as this would require a larger
rewrite of the search methods.

PHPBB3-12966
Merge pull request #2865 from marc1706/ticket/12966

[ticket/12966] Sort posts by post_id in addition to sorting by post_time
Merge pull request #2826 from brunoais/ticket/12928

[ticket/12928] core.mcp_reports_gather_query_before
[ticket/13024] Add template event viewtopic_body_postrow_post_content_footer

PHPBB3-13024
Merge pull request #2913 from Nicofuma/ticket/13024

[ticket/13024] Add template event viewtopic_body_postrow_post_content_footer