Hardening3

This set of security fixes focus on processing of tpdu, mcs, license, certificate, capabilities.
It also renames CODEC_ID_NONE that is already defined in avcodecs.h (at least on my ubuntu 12.10)