Liquid Crystal Transitions and Deformations Due to Colloidal Inclusions, Geometric Confinement, and Magnetic Fields