OAK-1670: ConnectedHead.update() passes current state on to Unconnected instead of base state

Apply proposed patch. Thanks Michi for the review!

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