[ticket/11224] SQL cache destroy does not destroy queries to tables joined

https://tracker.phpbb.com/browse/PHPBB3-11224

PHPBB3-11224
[ticket/11224] Fix returned data

PHPBB3-11224
[ticket/11224] Fix the blank line after ?>

PHPBB3-11224
[ticket/11224] Add unit test

PHPBB3-11224
[ticket/11224] Fix coding style

PHPBB3-11224
[ticket/11224] Use assertNotEquals(false) instead of assertNotFalse()

assertNotFalse() is unavailable with the version of phpunit used with php
5.2

PHPBB3-11224
[ticket/11224] Remove new line in acm_memory.php

PHPBB3-11224
[ticket/12993] Improve get_user_ranks

Explanation in http://area51.phpbb.com/phpBB/viewtopic.php?f=108&t=46051

PHPBB3-12993
[ticket/12993] Fix user_loader and memberlist

PHPBB3-12993
[ticket/12993] Rename to phpbb_get_user_rank

PHPBB3-12993
[ticket/12993] Fix includes of functions_display

PHPBB3-12993
[ticket/12993] Return an array instead of reference passing

PHPBB3-12993
[ticket/12657] Add a test file for base case

PHPBB3-12657
[ticket/12657] Fix name temporary directory used by test file

PHPBB3-12657
[ticket/12657] Remove unused global variables

PHPBB3-12657
[ticket/12657] The test does not need to depend on the database

PHPBB3-12657
[ticket/12657] Fix the order of the parameters for the constructor

PHPBB3-12657
[ticket/13071] Only use total_match_count after event dispatcher

PHPBB3-13071
[ticket/13072] Add total_match_count to core.search_get_topic_data event

PHPBB3-13072
[ticket/12657] Fix unit tests

PHPBB3-12657