JAVASERVERFACES-3396:port JAVASERVERFACES-3359 to trunk

git-svn-id: https://svn.java.net/svn/mojarra~svn@13698 761efcf2-d34d-6b61-9145-99dcacc3edf1
Fixes https://java.net/jira/browse/JAVASERVERFACES-3430, make sure a stateless page always gets constructed as if it is an initial page load (needed as events are otherwise not processed).

git-svn-id: https://svn.java.net/svn/mojarra~svn@13699 761efcf2-d34d-6b61-9145-99dcacc3edf1