Viscoelastic free surface flows: thin film hydrodynamics of Hele-Shaw and dip coating flows