Planning ahead can help avoid student debt – for you or your children.