[ticket/12117] Add get_all_tree_data method to tree class

PHPBB3-12117
[ticket/12117] Select all fields instead of item_basic_data

PHPBB3-12117
Merge pull request #2107 from VSEphpbb/ticket/12117

[ticket/12117] Add get_all_tree_data method to tree class