LPS-31740 Fix duplicate id

The aui:input checkbox for "Automatically apply changes done to the page template" has the same name (and thus by default the same id) in the page details view and in the add page dialog. Since the latest is included (though hidden) in the html of the first, in order to prevent JS errors in actions on this checkbox, we have to explicitly assign it a different id in the add_layout.jsp, as done in other inputs of this view.
LPS-33381 Fix refererPlid override after page delete
LPS-33381 Source formatting
LPS-33381 make logic consistent with SitesUtil - deleteLayout
LPS-32143 Fix non compatible SQL query

All the fields named in the select list must be named in the group by clause. For fields which may have multiple values in the same group, a single value criteria must be forced. Thus for userId and userName  (which may have multiple values for the same resourcePrimKey, groupId, companyId, nodeId group) the MIN function is used to select a single value.
LPS-33083 Typo in the update SQL query will cause bad queries since the final table will not exist
LPS-32110 Fix benchmark test, friendlyURL should not contain space.
LPS-32110 Make it more obvious
LPS-32110 Consolidate
LPS-33078 Recent Content does not display latest contents correctly
LPS-33078 Source formatting
LPS-33078 SF
LPS-32698 Javadocs
LPS-32698 Re-add Javadoc
LPS-32698 regenerate
LPS-33183
LPS-33446 HtmlUtil.escapeHREF to call HtmlUtil.escapeAttribute automatically
LPS-33446 Apply
LPS-33178 Adding MDRTestUtil
LPS-33178 Making liveGroup and stagedGroup protected