fix for safe markup and boolean field
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()