LPS-46764

LPS-46764 Adding new versions of a web content article is noticeably slower as a web content article has more versions.

Same pull than https://github.com/ealonso/liferay-portal/pull/190, but tests are fixed:
   - Init ServiceContextThreadLocal at code that access to this variable when ServiceContext is null
   - Variable name typo at JournalArticleLocalServiceImpl.checkCategoryTagsChanges()
   - JournalFolder remove from Trash was not reindexing all versions of JournalArticle