Ensure all real-world reference_names are valid

[#56005352]

Capital letter, dashes, and leading digits are all used in real-world
reference names in metasploit-framework, so REFERENCE_NAME_REGEXP needs
to accept those characters.