The entire form-details part of couchforms is completely dependent on corehq. We should just move it into corehq/apps/reports/