add optional type param support to get_cases_by_domain
Merge pull request #1809 from dimagi/cases-by-type

add optional type param support to get_cases_by_domain