OAK-993  Improve backward compatibility for Item.save and Item.refresh
Item.save throws UnsupportedRepositoryException when its effect is not equivalent to calling Session.save

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