WIP: Created initial assignment event analytics graph to staff dashboard.
Refactored front-end analytics graphs to pull data from Analytics Aggregate classes.
Refactored formatted data returned from analytics aggregate.
Extracted front-end chart info to data attributes of div element.
Added average course predictor scores to front-end charts.
Added new analytics pageview aggregates for better graphing. Added per-page pageviews chart to staff dashboard.
Refactored analytics aggregate data method to aggregate class method:
* Now easier to create new aggregates
* Moved presentational configuration and data out of the back-end aggregate classes
* Created new analytics data class.
* Made front-end js smarter, able to display multiple value keys for
  each result, don't show legend when no data labels are in results.
Added comments to analytics.js.
Added function to hide all except clicked series in analytics chart legend.
Improved functionality for showing/hiding series in analytics charts.
Added configurable range and granularity selections to analytics aggregates and charts. Changed default selection to past_week with daily granularity for gradecraft.
Switched to individual refresh buttons per analytics chart. Better usability.
Updated styling for analytics dashboard.
Refactored analytics chart js to make new chart types easier to build.
Make single-series analytics charts area for easier readability.
Refactored analytics timeseries js, added new timeseries-table
to display analytics in table using dynatable. Switched
AssignmentPredictorScore and PagePageview to use timeseries-table.
Added per-user pageview analytics aggregate and ui to analytics dashboard.
Updated dynatable. Clean up table column sort arrows after table refresh.
Removed js console log from analytics.
Moved analytics.js to lib/assets for rails.