MDL-39986 - Allow students to award badges from settings block

Fix for MDL-39830 and MDL-39831. Adds else clause to function
badges_add_course_navigation in lib/badgeslib to add managebadges
link to Bagdes node when user has award privilege but doesnt have
configuredetails permission.