New casedetails mwhite

goes with
https://github.com/dimagi/casexml/pull/44
https://github.com/dimagi/couchforms/pull/31