New casedetails mwhite

goes with
https://github.com/dimagi/couchforms/pull/32
https://github.com/dimagi/casexml/pull/47