added mergehandler support.
added first events which are triggered before and after a object pair is merged.