converted all *.c files to *.cpp
Merge branch 'prepare_code_for_hhvm'