[ticket/12217] Add more template events to viewtopic_body.html

Add viewtopic template events before/after the posts,
after the sorting options to allow adding contents to
respective places (like advertisement and so on).

PHPBB3-12217
Merge pull request #2050 from rxu/ticket/12217

[ticket/12217] Add more template events to viewtopic_body.html