MYFACES-3588 window-id support (latest updates until final draft 2)

git-svn-id: https://svn.apache.org/repos/asf/myfaces/core/branches/2.2.x@1461294 13f79535-47bb-0310-9956-ffa450edef68