Added the indices.get_upgrade and indices.upgrade
Added the snapshot.verify_repository method
Removed flush and max_num_segments from upgrade API