[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