Bug 972757: Allow vendor names to start with a numeral

This allows vendor names such as '10gen'.

Also disallow vendor name to end with an underscore.