Merge pull request #15 from valnoel/fix_avinputstream_buffering

AvInputStream ::_streamCache: use queue instead of vector
InputFile: refactore readNextPacket
Transcoder/StreamTranscoder: rename init to preProcessCodecLatency

* init does not mean anything.
* pyTest testTranscoderDummy: remove uncessary call of
preprocessCodecLatency.
Transcoder: fix preProcessCodecLatency

Need to call it after beginWrap.
OutputFile: check if at least one stream exists when getProgressDuration
InputFile / AvInputStream: rename functions about buffer

* AvInputStream
    * Rename setBufferred to activate.
    * Rename getBufferred to isActivated.
* InputFile
    * Rename readStream to activateStream.
    * Rename getReadStream to isStreamActivated.
* Update apps and pyTest.
FileProperties: remove SWIG warnings

Avoid warning messages when SWIG has access of these overload functions
(const).
GeneratorVideo: set type of data to char
Pixel: fix init from AVPixelFormat

Correctly set BigEndian, Alpha, and Planar flags.
VideoTransform: fix fill plane data pointers

* Error for subsampling YUV420 in init when fill in cumulSrcOffset.
* Use FFmpeg function av_image_fill_pointers instead of manage it in our
code.
* Remove unecessary _srcOffsets and _dstOffsets.
Add SWIG interface for frame classes
AvInputAudio: clean readNextFrame
InputFile: clean

* Clean documentation.
* Move static method.
* Remove unecessary getProperties with parameter.
Merge pull request #16 from cchampet/init_to_preprocessCodecLatency

Init to preProcessCodecLatency
Frame: add function copyData
Merge pull request #17 from cchampet/fix_videoTransform

Fix videoTransform
Up to v0.4.0
VideoProperties: add getBitDepth
Merge pull request #18 from cchampet/videoProperties_add_getBitDepth

VideoProperties: add getBitDepth
AvInputVideo: fix missing frame when transcoding (flush decoder buffer)