add .gitignore and modify Readme for CMake user
fix bug147