Completed DegreeCourse foundation class.
Added getById() to \Foundation\Resource.