Refactor controllers into instructor and student namespaces

Sets up for an instructor and student sub appliaction. The code was not rails RESTful before and confused a lot of concepts between instructors and students.

[#71945308]