Filter categories when creating exercise

Categories are now filtered to show only those that belong to the
course instance when creating exercises.
Merge pull request #149 from LassiHaaranen/master

Filter categories when creating exercise