OAK-141: issues related to Node.refresh() as opposed to Session.refresh()

Item.refresh() should throw InvalidItemStateException when the item gets lost due to the refresh

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