Added files to .gitignore. And fixed a problem for IOS7.1 that was giving errors