WICKET-5643 storeBufferedResponse should check if session is temporary.

added a check for session id and some JavaDoc