add theme edit view

also:
when a theme is deleted, set the custom_theme field of exams using it to NULL
only allow the owner of a theme to edit or delete it