Updated database structure to include iid and move to InnoDB for attendance* tables - refs #6500