Fixup new Audio() constructor and apply autoplay prevention evasion to document.

Authored by broulik on Nov 14 2019, 6:32 PM.

Description

Fixup new Audio() constructor and apply autoplay prevention evasion to document.createElement

The arguments apparently weren't properly forwarded to the constructor,
breaking e.g. new Audio("foo") calls. This uses the much nicer spread syntax introduced in ES6.
Also, document.createElement("audio") is affected in the same way as new Audio()
The evasion is now only done when the player actually starts playing,
not immediately when it is created, since we only care about playing players.

BUG: 411742

Differential Revision: https://phabricator.kde.org/D24870