[ticket/11037] Eliminate globals from cache service.

PHPBB3-11037
[ticket/11293] Add a note that mysqli should be in front of mysql.

php 5.5 alpha 2 deprecated mysql extension, prefer mysqli if
both are available.

PHPBB3-11293
[ticket/11037] Add/update docblocks.

PHPBB3-11037
[ticket/11037] Update services.yml.

PHPBB3-11037
[ticket/11037] Fix unit tests.

PHPBB3-11037
[ticket/11188] add count query to postgres search

PHPBB3-11188
[ticket/11188] add result count query for author search

PHPBB3-11188
[ticket/11188] Reduce waste.

PHPBB3-11188
Merge remote-tracking branch 'p/ticket/11293' into develop-olympus

* p/ticket/11293:
  [ticket/11293] Add a note that mysqli should be in front of mysql.
Merge branch 'develop-olympus' into develop

* develop-olympus:
  [ticket/11293] Add a note that mysqli should be in front of mysql.
Merge remote-tracking branch 'p/ticket/11188' into develop

* p/ticket/11188:
  [ticket/11188] Reduce waste.
  [ticket/11188] add result count query for author search
  [ticket/11188] add count query to postgres search
Merge remote-tracking branch 'p/ticket/11037' into develop

* p/ticket/11037:
  [ticket/11037] Fix unit tests.
  [ticket/11037] Update services.yml.
  [ticket/11037] Add/update docblocks.
  [ticket/11037] Eliminate globals from cache service.
[ticket/11306] Introduce phpbb_create_default_container

Extracts default container construction to factory function, removing
boilerplate duplication for container construction.

PHPBB3-11306
[ticket/11306] Add docblocks to all container related functions

PHPBB3-11306
Merge PR #1175 branch 'igorw/ticket/11306' into develop

# By Igor Wiedler
# Via Igor Wiedler
* igorw/ticket/11306:
  [ticket/11306] Add docblocks to all container related functions
  [ticket/11306] Introduce phpbb_create_default_container