Rather than have a monolithic .gitignore covering all platforms in the app template, have each platform folder contain its own rules. Fixes #40793