commit JCT-VC HM source with cmake based build scripts

HM-10.0-dev@3375 with some parts trimmed and some trivial folder reorgs

https://hevc.hhi.fraunhofer.de/svn/svn_HEVCSoftware/

--HG--
extra : amend_source : 665dd011861f463a47932e56211ff11172192f61
copy gcc warning flags from HM Makefiles

Can now compile without warnings on MSYS on Windows, but cannot link
reorder library linking to help gcc ld to resolve dependencies
fix case sensitivity of file paths in TLibEncoder/CMakeLists.txt
convert CMakeLists.txt to unix EOLN
introduce PPA as cmake build option
ppa: add some very high level CPU events in the encoder
ppa: -ldl is necessary for UNIX systems; not necessarily gcc

For instance, if building on MinGW gcc on Windows one does not need -ldl since
PPA will still not use the dlsym library loader
ppa: use API bindings from public Linux PPA package

On Linux the PPA shared library is quiet on success (yeah!) but this makes it
a challenge to debug shared library path problems.  So I added some logging.

--HG--
extra : amend_source : 3c2bda4ac7f70d1a5628c8ad3763ec508ff6d3f0
enable maximal warnings (and warnings as errors) on Windows

Manually exclude each warning emitted by the HM code that we chose to ignore,
fix one warning to avoid ignoring all warnings of that type in the App folder.
Explicitly disable some dangerous warnings directly in the files which emit
them, so they can remain enabled globally to catch bugs as they are created.

--HG--
extra : rebase_source : d39521db37b75435f6f71c70164f6ce013ed710c
move warning disablings as close as possible to the source that needs them

I want newly added files and folders to have full warnings by default
Build: Update GCC compilations with more warning options.
Adding GPL vectorclass source files
Adding Cmake build scripts for VectorClass
Merge
cmake: add INSTRSET definitions for various VC versions (refs #1)

I'm guessing that VC9 supports AVX and VC11 supports AVX2.  I'll have to verify
both of them.  A similar section must be added for gcc.
cmake: VC11 does support AVX2 intrinsics, but lib does not compile (refs #1)

The library does not compile cleanly when AVX2 is enabled, one warning about an
implicit int to bool conversion (easily ignored) and then an error that a
formal parameter cannot be aligned as requested, which is much more serious. So
I'm leaving AVX2 disabled for VC11

/arch:AVX2 was not valid, but /arch:AVX seemed to enable AVX2 intrinsics.
cmake: VC9 can handle only SSE4.2 intrinsics (closes #1)

gcc was tested under CentOS 6.3 and it compiled fine as-is
cmake: MSYS gcc requires -msse4 and does not support AVX2 intrinsics (refs #1)
document MSYS build instructions