Exam production fixes

Fixed bugs where the exam.css was included twice.
Fixed bug where ajax loader woudn't load due to cssrewrite filter being
a terrible terrible thing.