Cleaned up TargetManifest.

Moved TargetManifest._menu_key_to_editor() to Editor._menu_key_to_editor().