prevent KeyError for unknown case types
Merge pull request #151 from dimagi/typeinfo

prevent KeyError for unknown case types