Contact Mechanics in Computational Homogenization