some more refactoring in gradeHistory and patient(especially patient) and everything that was effected by the changes.  Also made it so if you try to change a patients number to a repeat number it shows you the suspected repeat and gives you a link to that patient so you can easily change it if you have to