Add resource types for JSON-Schema validation

There are resources cross projects like volume, network, etc.
Now the validation implementations for each resource exist at
the different places.
This patch adds resource types and makes schemas use these types
for code cleanup.

Partially implements blueprint v2-on-v3-api

Change-Id: Ia74f59cc8dc77c95b07f167e8f02cee6d82318f3
Merge "Add resource types for JSON-Schema validation"