A headteacher gave payouts to staff who were accused of taking drugs, teaching while drunk and masturbating in a music room.