GUI-1154: Set custom policy name only when a policy statement is selected, and restore selected policy statements when switching back to custom policy tab after a canned policy is selected.
Merge pull request #841 from eucalyptus/GUI-1154

GUI-1154: Set custom policy name only when a policy statement is selected...