better equality testing primarily for unit tests
Generalize inheritance repr and fn across kvs's and dbmodels
use dbmodel w/ kvs instead of dictionary for model_data
Use xblock default function to get inherited value.