updating session with delete and end

I've only tested this for EpiSession::PHP.  Had a typo in the last pull request.