Fix how nova ironic driver gets flavor information
Fix how nova ironic driver gets flavor information

Nova changed the way it access the flavor information, they now use the
Flavor object instead of getting it throught the VirtAPI.get_flavor()
call.

Also fix the import order in the driver.py

Change-Id: I4308d9c994a13f63003ee9426229b51063926c00

openstack/ironic,NaohiroTamura/ironic,ramineni/myironic,Tan0/ironic,ionutbalutoiu/ironic,SauloAislan/ironic,Tehsmash/ironic,dims/ironic,pshchelo/ironic,NaohiroTamura/ironic,ionutbalutoiu/ironic,varunarya10/ironic,froyobin/ironic,bacaldwell/ironic,faizan-barmawer/openstack_ironic,pshchelo/ironic,hpproliant/ironic,SauloAislan/ironic,naterh/ironic,bacaldwell/ironic,dims/ironic,redhat-openstack/ironic,JioCloud/ironic,openstack/ironic,rdo-management/ironic,supermari0/ironic,devananda/ironic,naototty/vagrant-lxc-ironic,naototty/vagrant-lxc-ironic,debayanray/ironic_backup,rackerlabs/ironic