Add flavor name regex validation to match nova.

Fixes bug 1148372

Change-Id: Ia1f4d974ddac6cd22c0b8979e98b2ea8f31deb21
Merge "Add flavor name regex validation to match nova."