[Web Audio] Added Audio API tests: MediaElementAudioSource interface

* Test with source output to OfflineAudioContext
* Test with source output to ScriptProcessor
* Added trimEmptyElements() to helpers.js