Fix issue with evaluation of #{cc.XXX} expressions

Issue: SWF-1639
Polish and minor fix

The visitHints in publishPostRestoreStateEvent was always null hence
in JSF 2.1+ they wouldn't get passed to createVisitContext.