add .gitignore and optimize Podfile and remove some files that are creat...

...ed by cocoapods.

If you always write a version of library in Podfile,  you can add Podfile.lock to .gitignore.