Analyst dashboard2

Rewrote analyst dashboard, moved much of completion table to utils.py, added Bayo's template tags (though had to reproduce feedback_rate_table function in clinics.views for ajax recalcs) and added unit tests.
first_date = Visit.objects.aggregate(Min('visit_time'))['visit_time__min'].date