Refactor code editor into a partial. Fix #483
Add submission_contexts_controller with user methods
Add views for project submission_contexts