remove CaseBase class

it wasn't really adding any value and made it much more annoying to see
the list of properties on the case model.

this change also properly changes referrals to DocumentSchema, instead
of Document and moves the case-specific to_full_dict function into that
class as well.