[ticket/12703] Only query database for subscription types once

PHPBB3-12703
[ticket/13241] Correctly ignore announcements from topics list

PHPBB3-13241
[ticket/13241] Fix pagination with global announcements

PHPBB3-13241
Merge pull request #3076 from marc1706/ticket/12703

[ticket/12703] Only query database for subscription types once

* marc1706/ticket/12703:
  [ticket/12703] Only query database for subscription types once
Merge branch 'develop-ascraeus' into develop

* develop-ascraeus:
  [ticket/12703] Only query database for subscription types once
Merge pull request #3093 from nickvergessen/ticket/13241

[ticket/13241] Fix pagination of viewforum with global announcements

* nickvergessen/ticket/13241:
  [ticket/13241] Remove sleep() and change flood interval instead
  [ticket/13241] Remove sleep() since the method takes care of this now
  [ticket/13241] Sleep for 1 second when posting twice in the same second
  [ticket/13241] Fix pagination with global announcements
  [ticket/13241] Correctly ignore announcements from topics list
  [ticket/13241] Add a functional test for viewforum with global announcement
Merge branch 'develop-ascraeus' into develop

* develop-ascraeus:
  [ticket/13241] Remove sleep() and change flood interval instead
  [ticket/13241] Remove sleep() since the method takes care of this now
  [ticket/13241] Sleep for 1 second when posting twice in the same second
  [ticket/13241] Fix pagination with global announcements
  [ticket/13241] Correctly ignore announcements from topics list
  [ticket/13241] Add a functional test for viewforum with global announcement