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.
instead of::
    type(start_date) is str
we should have::
    isinstance(start_date, basestring)