Migration APIsedit

The migration APIs simplify upgrading X-Pack indices from one version to another.