Refactor course controller
Refactor view template and adject rspec test
Added ActiveAdmin and refactor course model
Changed code column as unique to Term