Banach-Buck measure, density, and uniform distribution in rings of algebraic integers