Fix CMake build error
Remove USE_BINARY_DATA related code
Cease compiling warnings
Do not use libcommon.la in init_database
Merge remote branch 'czchen/general_index' into general_index