LPS-40102 Removing distinct (do not merge)

It is inefficient and usually unsuported to perform distinct on longtext
columns

Please check whether this distinct is truly necessary
LPS-40102 DISTINCT is not needed, and fix DISTINCT for COUNT
LPS-42537 Move CSS scripts into dependencies folder
LPS-42537 SF
LPS-42537 Download r2.js into css dependencies folder
LPS-42537 Generated
LPS-42537 Exclude r2.js from source formatting
LPS-42537 Sort
LPS-42537 Detect if language is RTL from request.

PortalUtil.getLocale cannot be used here, since it does not take languageId param from request into account.
Instead, LanguageUtil.getLanguageId takes languageId into account and fallsback to portalUtil.getLocale if it's null.
LPS-42537 SF
LPS-42864 SF
LPS-41573 SF
Test Fixes - UsergroupsUsecase.testcase
Record
LPS-42887 Expose Entity/FinderCache enabled status for entities
LPS-42887 Manually apply
LPS-42887 SF
LPS-42887 Fix for plugins
LPS-42887 Regenerate
LPS-42794 There is an extra "x" attached to the delete button in Available Translation of Metadata fields