Add dec_avcodec and enc_x264 - untested.
Add application test_chain to test the whole chain.
enc_x264: small fixes