fixed the nextDayPeriod calculation...it is now 0 based.

Fixed BruteForceGenerator and created a test for the same.
Created a small test for the same.

Fixed DomainStore, updating teacherview along with the classviews.
fixed the name the consumedPeriods to remainingPeriods.

// TODO still need to bring in the max hours per subject constraint.