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