let the demuxer fill the Packet data.

fix an incorrect Packet payload allocation which seemed to
cause a memory leak.
This new code is safer, more loyal to FFmpeg specs and samples
and uses way less memory.
do not lose the first frame
add the first draft of the decoder benchmark.
pylint fixes
two-steps pseudoheader loading and pseudoheader reorganization.
cleanups