Gartner: SaaS now replacing legacy apps, as well as extending them