OAK-2045 Long running JCR session prevent live cleanup in Segment FileStore

Add a testcase which simulates long running session by keeping a reference to NodeState from a previous revision

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1619378 13f79535-47bb-0310-9956-ffa450edef68