Merge pull request #14 from dimagi/rdayalu-analysis

Rdayalu 10/22/14
remove obsolete unique visits function, fix accidentally not writing agg tables
Dag's report module