Spotify and the Universal Music Group have struck a new deal that will expand platform monetization and change how songwriters get paid for streams.