Don't pass on 0-length buffers from dodgy TS data
Bail out earlier if ADTS sync-word is bad
Report timestamps inconsistent with ADTS media
Don't corrupt buffers seen by later parse stages.

This appears to have regressed because of other changes, which went
unnoticed due to lack of tests.
Should have added this before
Extract a bunch of setup from Main into AppBuilder
Allow multiple concurrent TS parse contexts
Improved HLS testing
Only schedule further iterations if still running