[ticket/11405] Add some basic tests for notifications in submit_post()

Poster, should NOT receive a notification
Topic subscribed, should receive a notification
Topic subscribed, but unauthed to read, should NOT receive a notification
Topic subscribed, but already notified, should NOT receive a new notification
Topic and forum subscribed, should receive ONE notification
Forum subscribed, should receive a notification
Forum subscribed, but already notified, should NOT receive a new notification

PHPBB3-11405
[ticket/11405] Send post notifications to forum subscribers

Like in 3.0 we should also send notifications about new posts to users
that subscribed to the forum. (Subscriptions are verbose)

PHPBB3-11405
[ticket/11405] Fix some coding style issues

PHPBB3-11405
[ticket/11405] Add unit tests for quoted users notifications

PHPBB3-11405
[ticket/11405] Sort $users array in order to prevent issues on postgres

PHPBB3-11405
[ticket/11405] Add a base class to avoid duplicated setUp() code

PHPBB3-11405
[ticket/11405] Correctly prefill the tables (missed the posts and not-types)

PHPBB3-11405
[ticket/11405] Move test to submit_post_base.php and use data sets for testing

PHPBB3-11405
[ticket/11405] Add unit tests for bookmarking

PHPBB3-11405
[ticket/11405] Use different fixtures so it's not a total mess

PHPBB3-11405
[ticket/11405] Order users in bookmark, in order to pass postgres tests

PHPBB3-11405
[ticket/11405] Fix "only variables should be passed by reference"

PHPBB3-11405
[ticket/11405] Add unit tests for post_in_queue

PHPBB3-11405
[ticket/11474] Check read permission before sending *_in_queue notifications

PHPBB3-11405
PHPBB3-11474
[ticket/11474] Clarify comment with "global" and forum_id = 0

Forum ID 0 in permission checks, checks the global moderator permission.

PHPBB3-11405
PHPBB3-11474
[ticket/11474] Add test user with only global m_approve permissions

PHPBB3-11405
PHPBB3-11474
Merge pull request #1316 from nickvergessen/ticket/11405

Ticket/11405 Users that are subscribed to a forum, should receive notifications for new replies