MYFACES-3688 Implement ExternalContext.getSessionId() (Thanks to Paul Nicolucci for check the correctness of the code)

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