Make JS Chart work with Rails model data on dashboard page
- Rename graph.js to chart.js
- Define 'Games Played' chart function in chart.js
- Add console log message to determine if chart is turned on or off
- Use dashboard.js to turn charts on or off
- Create new DashboardPresenter object in dashboard controller
- Define method in DashboardPresenter to return number of wins for all games
- Add 'color' column to GameType models