[FEATURE] Generated plugins should include a .gitignore file

To be included in 2.5. Leaving this open for now since we will probably want to do a 2.4.1 release shortly.