Make metadata server use Instance.get_flavor()

This removes the use of extract_flavor() from the metadata server.

Related to blueprint flavor-from-sysmeta-to-blob

Change-Id: I06373f02a693d5fa9ad5acfe4e268a5fdbd5bac8
Merge "Make metadata server use Instance.get_flavor()"