Add `railtie.rb` to the plugin generator
#29576

ttanimichi wants to merge ttanimichi:add-railtie-rb into rails:master

We do not currently have an analysis of these two commits