Add flavor name regex validation to match nova.

Fixes bug 1148372

Change-Id: Ia1f4d974ddac6cd22c0b8979e98b2ea8f31deb21
(cherry picked from commit a1012242d7e07c326a485d33371814be9892e1a1)
Merge "Add flavor name regex validation to match nova." into milestone-proposed