Enable DbModels to override defaults based on context

To enable inheritance and perhaps other context-sensitive fns

@cpennington @sarina please review