Move .gitignore in template to gitignore (and add the dot in the script).

Makes it more obvious that the file exists in the template, and causes
it to not have an effect on git within cordova-ios.