LPS-42059 Format the comments using the same code as used in discussion/page.jsp
LPS-42059 Encapsulate the code in a convenience method
LPS-42059 Move logic to MBUtil. I finally only left one method because the API for the others is kind of confusing. For example: the pathThemeImages is only used if the message is bbcode, but not always
LPS-42059 Comments may also be in HTML format
LPS-42059 Rename method
LPS-42059 SF - @theme_images_path@ is a portal generic value and not MB specific. Encapsulate in a more generic class.
LPS-42059 In case we have more tokens in the future
Test Fixes - SF
LPS-43679 Move shortenURL logic to HttpUtil
LPS-43679 Check URL length when adding parameters
LPS-43679 Check non-namespaced redirect parameter
LPS-45337 Properly delete previews before import
LPS-38110 Fix pagination issues in AssetPublisher when filtering using vocabularies and groups
LPS-38110 SF
LPS-38110 Extends API
LPS-38110 Uses the new method