add flag to permit dashes in alphanum validation

A number of existing sites of ours have dashes in the file set names and
clients were no longer able to sort files in 5.6.1 without re-naming the
filesets. This commit takes this into consideration.
Merge pull request #876 from triplei/DashValidationOption

add flag to permit dashes in alphanum validation