Thurston, John, active 1684-1714, Judge Advocate to Army