[ticket/11701] Loop variables are not passed correctly to events

PHPBB3-11701
[ticket/11701] Remove useless str_replace

PHPBB3-11701
[ticket/11701] Fix loops var check

PHPBB3-11701
[ticket/11701] Fix regex for appending |length

PHPBB3-11701
[ticket/11701] Refix regex for appending |length

PHPBB3-11701
[ticket/11701] Test events in loops

PHPBB3-11701
[ticket/11701] New line at EOF

PHPBB3-11701
[ticket/11751] Add mcp modules for softdelete  on update

PHPBB3-11751
[ticket/11770] Fix class name for pm list

PHPBB3-11770
[ticket/11775] Fix error when moving the last post to another topic

PHPBB3-11775
[ticket/11775] Backport moving of the posting functions to 3.0

PHPBB3-11775
[ticket/11775] Add functional test for moving the last post

PHPBB3-11775
Merge remote-tracking branch 'EXreaction/ticket/11701' into develop

* EXreaction/ticket/11701:
  [ticket/11701] New line at EOF
  [ticket/11701] Test events in loops
  [ticket/11701] Refix regex for appending |length
  [ticket/11701] Fix regex for appending |length
  [ticket/11701] Fix loops var check
  [ticket/11701] Remove useless str_replace
  [ticket/11701] Loop variables are not passed correctly to events
Merge pull request #1633 from nickvergessen/ticket/11751

[ticket/11751] Add mcp modules for softdelete  on update
[ticket/11780] Remove unused images

PHPBB3-11780
[ticket/11780] Remove references to unused images

PHPBB3-11780
[ticket/11781] Include func update_post_information()

Include functions_posting before using functions defined in that file

PHPBB3-11781
[ticket/11777] Add subdirectory 'events/' to the template event search path

Makes the twig template engine look in the events/ subdirectory instead of the
main styles/[style]/template/ directory for extension template events. Note
that it does _not_ look recursively!

PHPBB3-11777
[ticket/11777] Move the testing template events to 'events/' subdirectories

The tests written for extension template events did not follow the convention
and documentation of placing template event files in the events/ subdirectory.
Moved the files to this subdirectory so the tests succeed again.

PHPBB3-11777
[ticket/11777] Rename the extension template listener subdirectory to 'event/'

Per suggestion of EXreaction and nickvergessen, do not look for extension
template event listeners in styles/[style]/template/events/ but in
styles/[style]/template/event/ (without the trailing 's') to match the way
phpBB looks for php template event listeners.

PHPBB3-11777