CMake build system

* Build AvTranscoder.
* Build cpp apps.
* Enhancement: generate java binding (java files, class files, and jar file) in a single build !