Shape Optimization Homogenization and Optimal Control