OAK-1681: Clarify contract of NodeBuilder.isReplaced()
Added test cases for isReplace and corrected implementation in MemoryNodeBuilder

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1585304 13f79535-47bb-0310-9956-ffa450edef68
OAK-1674: Node isNew() is false in case the node is removed and added in same commit
Treat a replaced builder as new, enable test cases

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