Initial commit.
Update CMakeLists
Add CMake modules for detecting ANSI C headers.

Files from: https://code.google.com/p/libarchive/source/browse/build/
cmake/?name=release-2.7
Update CMakeLists.

Add header and function config defines to CMake.
Disable JavaGenerator in protoc.
Fix #include directives.