LPS-37847 The "My Sites" menu does not preserve impersonation

I solved it by changing ViewAction because the two PortalImpl methods it uses are too generic and several invocations assume there will be no doAsGroupId or no parameter at all.
LPS-37846 JavaScript error when accessing control panel if the first portlet needs to load implicit main.js file

When automatically selecting the first portlet always issue a redirect, because otherwise the portal doesn't know that portlet is going to be displayed. This will not only solve LPS-37846 but many other potential bugs similar to this one.
Revert "LPS-37847 The "My Sites" menu does not preserve impersonation"

This reverts commit 8d0b8b3c0cf5f778d4a8a1b6ea27ccedcb8fdb1b.
LPS-37759 Corrected device list
LPS-37765 Modified condition to show backURL
LPS-37772 This property is handled in a generic way, so if we're changing one we need to change all of them
LPS-37813 Remove unnecessary PrepareForTest annotation
LPS-37813 Create BaseExportImportTestCase from BasePortletExportImportTestCase (just copy and paste)
LPS-37813 Remove portlet specific export import logic from BaseExportImportTestCase
LPS-37813 Remove generic export import logic from BasePortletExportImportTestCase
LPS-37813 Add a test class for layout export import processes
LPS-37813 Add test for exporting and importing pages
LPS-37813 SF
LPS-37366 If the status of wiki page is draft, we should not be able to move to trash the page
LPS-37777 Do not count&export portlet file repository entries
LPS-37777 Add integration test
LPS-37777 SF
LPS-34491 Remove sendRedirect when there is an exception in the form
LPS-37569 RSS Headers and Footers are missing their <p> Tags
LPS-37569 SF - I think header and footer don't make sense here, but I am open to discussion :)