add get_case_updates utility function
Merge pull request #126 from dimagi/cz

add get_case_updates utility function