Clean up templates.

Fix issues with multiple graph layout in the dashboard with mixing flot and cairo graphs.

Put fancy purply surround on flot graphs when mouseover happens.
Merge branch 'rfc/dashboard_flot' into appnexus_rollup