[FIX] menus: Cache results for both normal menu and structure as menu (thanks ukoegler, should close wish4814 on 12.x at least)

git-svn-id: file:///var/local/code.tiki.org/tikisvn/branches/12.x@48447 b456876b-0849-0410-b77d-98878d47e9d5
[FIX] elfinder: Actually a fix for wish4916 but turns out to expose the wiki attachment galleries to elFinder, which i think is a good thing and seems to work as expected.

git-svn-id: file:///var/local/code.tiki.org/tikisvn/branches/12.x@48448 b456876b-0849-0410-b77d-98878d47e9d5