LPS-37266 Show within "Application Display Templates" all ADD_CONTENT_DISPLAY_TEMPLATE actions for each portlet that has a PortletDisplayTemplateHandler

The code for iterating through the permissions follows the same patterns as other tables with some adaptations to the specific needs of this table.
LPS-37266 Calculate the total properly

I called the variable 'count' because it was the closest to what was used in other similar JSP's
LPS-37266 Match edit_role_permissions_resource.jsp