check if a proposal title is a valid variant name

This is important because proposals may create variants with
the same name later on
Merge pull request #668 from xi/feature-fix-proposal-name-validation

check if a proposal title is a valid variant name