The associate assistant headteacher also possessed extreme pornographic images showing sex with an animal