LPS-34188 Redesign the export dialog.

1) Rearrange the tree form to match the new design.
2) Display advanced options as dialogs.
3) Change labels and languages.
LPS-34188 Add help messages
LPS-34188 Obtain a localized string from an array
LPS-34188 Display labels with selected preferences
LPS-34188 Make javascript calls sandboxed
LPS-34188 Move all javascript functions to main.js
LPS-34188 - Source formatting
LPS-34188 Fix some issues after SF
LPS-34188 Source formatting
LPS-34188 - Source formatting
LPS-34188 SF
LPS-34188 Lang keys
LPS-32437 ResourceActionsImpl depends on injection of "Portal" bean (the only class in Liferay besides PortalUtil) just so it can call JS.getSafeName(String)