[802] Adds published datasets to the reports as an option

Modified the helpers to be a little more streamlined and we now also
generate a set of report data for published datasets, which can be shown
by pressing the appropriate checkbox.
[noticket] Remove precalc reports from setup
Merge branch 'master' into stable
Make sure we add the appropriate show-published flag when paging;
Merge branch 'master' into stable