[ticket/9341] Move create_topic and post into functional test case

create_topic and create_post are moved into functional test case
so that they can be used by other tests as well

PHPBB3-9341
[ticket/9341] Add tests for checking Next and Previous template vars

PHPBB3-9341