Server and pattern changes

Made SubjectID contain info for pattern electives, continuing to sort
out bugs in schedule maker