Symplectic and contact aspects of foliations and Anosov flows in dimension three