Fixed exceptions not defined

Added "from libopensesame import exceptions" again as this class was
used elsewhere in the program but never imported