Pātuhitia tēnei: Differential topology, foliations and Gelfand-Fuks cohomology