Aspects Of (Quantum) Field Theory On Curved Spacetimes, Particularly In The Presence Of Boundaries