refactor DataTabulator to DataFormatter

depends on https://github.com/dimagi/commcare-hq/pull/871