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.
correct IMO is::

    if isinstance(clinic, basestring):