Add support of datastore types

implements blueprint db-type-version

Change-Id: I447aee9321311008cf6fb58c75d0b63f0a1f1388