MDLSITE-2106: valid variable names sniff can now report multiple errors

I refactored the variable name check to share the valid variable name
in string and 'bare' variable name checks.
MDLSITE-2106 increment version and add to changelog