A former councillor has appeared in court accused of a string of sexual offences against his ex-wife over 13 years.