A headteacher of a primary school in Lancashire made inappropriate and abusive comments about pupils and staff, including calling one child a “fat slug”.