A unified approach to infinite dimensional integrals of probabilistic and oscillatory type with applications to Feynman path integrals