Disallowed certain inputs for edit_course_tabs

Tabs 1 and 2 and type static_tab are disallowed
Fixed pep8 stuff