Merge pull request #45 from wagnert/master

Move session dir creation to appserver, refactor for context XML configuration