Allow Conflict Resolution on Metadata Write

extend riak_core_metadata_object:modify/4 to take a
resolution function (it differs from resolve/2, see edoc).