Add credits column. Fix Course.replaced.

Add credits column to report page.
Replace Course.replaced with Course.old_code.