added a set tabs method.Fixed bugs in template and added functionality to set exammode to either ""(None), Final or Midterm.
Note: We cant still set the examMode from the site. It has to be done manually as the put request is not successful.
Merge pull request #22 from RajShah94/develop

Set Exam Mode