misc reporting changes

depends on https://github.com/dimagi/ctable/pull/65 (update submodule ref)