A man who worked as part of the pastoral team at a Birmingham school has been jailed for a number of child sex offences.