MDL-42098 - Libraries: Alter fullname debugging logic to display when user name fields are missing.
MDL-42098 - Libraries: Unit test for fullname function to ensure that debug message is
shown even when additional names are enabled.