Bug fix - Nova boot (flavor id) + unit tests

- Fixed an issue in flavors.py with flavor id causing issue during nova boot

- Wrote unit tests