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.
last_date = Visit.objects.aggregate(Max('visit_time'))['visit_time__max'].date