Gauge Theory and Defects in Solids