has-dropdown class appears when $depth set to 1

The has-dropdown class should not appear if a user sets their
wp_nav_menu $depth value to 1. Added $max_depth logic to check for this
and hide the drop down arrow in this case.