[ticket/13110] Add core event to the page_footer() function

Add core event to the page_footer() in includes/functions.php to allow
extensions handling overall page output before its displaying.

PHPBB3-13110
[ticket/13116] Interchange post and topic approval notification

PHPBB3-13116
[ticket/13059] Add core event to generate_page_link()

Add core event to generate_page_link() to allow
overriding/modifying pagination URLs.
Event request: http://area51.phpbb.com/phpBB/viewtopic.php?f=111&t=45905

PHPBB3-13059
[ticket/13108] Add core event to the parse_attachments() function

Add core event to the parse_attachments() function in functions_content.php
to allow modifying/adding attachment template data.

PHPBB3-13108
Merge pull request #3004 from Senky/ticket/13116

[ticket/13116] Topic and post approval notifications got interchanged
Merge pull request #2999 from rxu/ticket/13108

[ticket/13108] Add core event to the parse_attachments() function
Merge pull request #2947 from rxu/ticket/13059

[ticket/13059] Add core event to generate_page_link()
Merge pull request #3000 from rxu/ticket/13110

[ticket/13110] Add core event to the page_footer() function
Merge pull request #7 from phpbb/develop-ascraeus

updating the latest patches