WebVTTWriter: Accept and write WebVTT metadata header

As specified in http://dev.w3.org/html5/webvtt/#dfn-webvtt-metadata-header.