test updates
Add cache debug panel

Updated django-debug-toolbar.  This requires a dev build command.

For some reason I couldn't use the provided cache panel, so I
implemented a custom one.

Put the debug toolbar at the top of the middleware.  This way it can
report on the code from other middleware classes.
Merge branch 'staging' into gh-1752
Fixed unittest (#1752)