Removes display_element and updates $args->has_children to $this->has_children.

4.0 has updated the class-wp-walker and added a $has_children property so it's not necessary to hack the display_element function anymore. This commit removes display_element and updates $args->has_children to $this->has_children.