Fetch the instance_type by id instead of flavor_id

fixes OS-125

The wrong database method was being used to fetch the instance_type
to generate the vms_policy string. Instead of retrieving it by
flavor id we get it by the instance type id directly.

Change-Id: Ice26de114f6698ad650a8c4cf8077da7728f15d3