Perturbation Theories In Astrophysics: From Large-Scale Structure To Compact Objects