Add 'menu-item-has-children' classes to parent items like in wp-includes/nav-menu-template.php