Pātuhitia tēnei: Dynamics of foliations, groups and pseudogroups