add git ignore rules, and we complete project migrate.

the google code is very good, but for some reason that we can not
access it well, so github is a good choice.