Add a version of the XWikiREPLCode code that is supposed to handle sessions...

...but it seems not to work
Merge pull request #1 from fmancinelli/master

Add a version of the XWikiREPLCode code that is supposed to handle sessions