FACES-1710 After invoking an ActionURL, the bridge remembers resources that were in the <head>...</head> section of the portal page
(refactored to make it easier to backport to JSF 1.2 based branches)