FACES-1674 Resource libraries/collections are not marked as being added to the <head>...</head> section of the portal page
(implemented StateHolder added saveState/restoreState in order to handle special case on Mojarra)