Make multiple_create unit tests share between v2 and v2.1

Now there is a lot of duplicated test code between v2 and v2.1 API
tests and it is better to share them for the code cleanup.
This pach makes multiple_create unit tests share.

Partially implements blueprint v2-on-v3-api

Change-Id: Icf646efeaa8e13c6a3ec48e16523122b5af1658d
Add api validation schema for image_metadata

Add schema file to do api input validation for image_metadata api.
And some unit test case fix for the 'update' action
- create accepts 'metadata' instead of 'meta'
- update accepts 'meta' instead of 'metadata'
- update_all accepts 'metadata' instead of 'meta'

Partially implements blueprint v2-on-v3-api
Change-Id: I364860d5514d94a146b56c74ff3f3950a3b8d5b3
Merge "Add api validation schema for image_metadata"
Merge "Make multiple_create unit tests share between v2 and v2.1"