Test Fixes - portlet/documentsandmedia
LPS-32449 Reuse existing preferences in the method and no need to send a request as a parameter (necessary for LPS-30300)
LPS-31191 Constants should be in interface and not in helper util
LPS-31191 Don't go back out
LPS-31191 Use implicit var
LPS-32558 Fix Message Boards Portlet undo problem.
LPS-31845 Don't add subscription when previewing or saving a draft message
LPS-31845 Sort
LPS-32734
LPS-32734 Add parameter used to determine which user group user layout to use for the back url since what we depended on before, scopeGroupId, is not always preserved (it can change clicking around in the control panel)
LPS-32734 tld
LPS-32734 make the name point to the real site and not the user group site