Made app_state more robust when switching branches.
Another merge conflict (+1 squashed commit)
Squashed commits:
[91b1cf8] Fix in which setting the date by dragging onto the calendar resulted in an error.  This was because the reduced_scoring_date was not set correctly.
Fixed a number of issues with the calendar.
Merge pull request #422 from pstaabp/ww3-feature/calendar

Ww3 feature/calendar
Merge pull request #429 from pstaabp/ww3-feature/table-size

Ww3 feature/table size
Merge branch 'ww3' of https://github.com/openwebwork/webwork2 into ww3-feature/back-button

Conflicts:
	webwork3/public/js/apps/CourseManager/CourseManager.js
	webwork3/public/js/views/CalendarView.js
	webwork3/public/js/views/MainViewList.js
Fixed the problem where the date types were not consistent with the date type pulldown upon page refresh or changing views.
Fixed Sort By pulldown location in Problem Sets sidebar.
Fixes problem in that the Problem Set sidebar wasn't paying attention to the course setting enableReducedScoring.
Cleaned up status messages.
Fixed a couple of issues where the reduced scoring column was showing when the course setting enableReducedScoring was false.
Cleaned up some console.logs
Improved the state saving of the Problem Sets Manager.
Continued work on the ProblemSetsManager and ClasslistManager views.
Got rid of the annoying alert popup on navigating away from the page.
Initial work on saving the state of the sidebars
Initial work on saving the state of the sidebars
Cherry pick of 48b8e3e
Serious revision of the state of the homework manager. This includes:
1. Making every view have a state field (which is a Backbone.Model).  This allows the automatic saving of the state when extending MainView.
2. Redoing of the views to make sure that they use the this.state to saving information about each view.
3. Renaming of sidepanes or option panes to sidebars for consistency.

This commit has basic functionality for the calendar view.
Finished the state for Problem Set Details View.