move CaseBlock out of test module

depdendent on https://github.com/dimagi/casexml/pull/107