fix a minor bug when detecting server image flavor

* The function _detect_server_image_flavor has a parameter 'server_id',
* but does not use it (instead, it uses server_id of the class)

Change-Id: I94d46877a67c79035e4ecf3da9abc0156803f2b3
port test_server_metadata and test_server_personality into v3 part2

this port test_server_metadata into v3. the personality has been removed
in nova v3 api, and the absolute has been removed from limits api, so
just remove them.

Change-Id: Ia366cfc15b3ebea787b1aa24c8197e4e01567d4c
Merge "port test_server_metadata and test_server_personality into v3 part2"
Merge "fix a minor bug when detecting server image flavor"