FACES-1459 Support for JSF 2.2 (minimize diffs across branches -- call attachClientWindowToLifecycle in RENDER_PHASE as well)