add schedule.toArray

this is for use in saving a schedule
Merge branch 'master' of https://github.com/eric-chahin/CS5150

Conflicts:
	scripts/models/schedule.js