Part 3: move the path up by the title since it's a required field and head was ordered like that.
START PART 4: https://www.drupal.org/node/2301317
apply patch https://www.drupal.org/files/issues/menu-2256521-conversion-review-do-not-test.patch
and resolve 8.x conflicts
fix hook_uninstall to use the correct service
rename updateLink to updateDefinition
rename deleteLink to removeDefinition
rename isResetable() to isResettable()
convert topLevelOnly() to setTopLevelOnly()