[feature/api] Using nested sets

Changed forum fetching to use the nested set class instead.
Now instead for using own SQL for fetching forums, it'll
fetch it using the nested set class. If fetching all
forums, own SQL is still used as of now.

PHPBB3-11595