XWIKI-1101: XWikiContext caches become too big when playing with a big number of documents in a single request Fixed. Applyed patch from Arnaud Thimel, with minor changes.
XWIKI-1101: XWikiContext caches become too big when playing with a big number of documents in a single request
Fixed. Applyed patch from Arnaud Thimel, with minor changes.

I increased the default size of the cache from 10 to 20, as in a request it's easy to load more than 10 classes 
(user, group, rights, global rights, preferences, panel, comment, article, article category, tag when viewing a 
blog article).



git-svn-id: 50c93b9c2d9041e46610830dd7836bad08be8b2e@3554 f329d543-caf0-0310-9063-dda96c69346f

xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform