Enable DbModels to override defaults based on context

To enable inheritance and perhaps other context-sensitive fns

I'm working on a test does more than throw KeyError, but wanted to get this out
@cpennington @sarina please review