Add a convenience helper to create a MergeConflict object.
Optimzation: text and array ops can be executed in place.

Furthermore, conflicts can be checked on the fly during transform
controlled by an option.
Options for transform.

- check: enables conflict checking
- inplace: inplace transformation