OAK-2020: NodeState view at given version is not stable with DocumentNodeStore

Fix equals method and enable tests

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1618613 13f79535-47bb-0310-9956-ffa450edef68
Merge branch 'upstream-trunk' into OAK-2035