LPS-39635 Check staging permissions for Bookmarks actions
LPS-39635 Check staging permissions for Dynamic Data Lists actions
LPS-39635 Check staging permissions for Message Boards actions
LPS-39635 Check staging permissions for Mobile Device Families action
LPS-39635 Check staging permissions for Polls actions
LPS-39635 Check staging permissions for Web Content Folder and Feed actions
LPS-39635 Hide add button in Web Content when option list is empty (same logic as in Document and Media)
LPS-39635 Check staging permissions for Wiki actions
LPS-39635 SF
LPS-39633 Check staging permissions for DDM actions
LPS-39633 Use DDMPermission instead of DDMDisplay to check add structure permission
LPS-39633 Check staging permissions for DDMStructure and DDMTemplate actions.

Staging permissions for actions over DDMStructures and DDMTemplates depend on which portlet they are being used for. Thus, the portletId parameter is required if staging permissions need to be checked.
LPS-39221 don't throw exception on Weblogic, as it calls setBufferSize on PageContext creation
LPS-39221 test added
LPS-39221 Consolidate logic