Add regression test for router was overwriting PATH_INFO

[related #17233]
Replace Enumerable#reverse.each with Enumerable#reverse_each
Replace Array#shuffle.first with Array#sample
Start running railties builds first, since they take the longest finish
Merge pull request #17244 from sferik/reverse_each

Replace Enumerable#reverse.each with Enumerable#reverse_each
Merge pull request #17245 from sferik/sample

Replace Array#shuffle.first with Array#sample
Merge pull request #17246 from sferik/railties_first

Start running railties builds first, since they take the longest finish
Merge pull request #17234 from arthurnn/add_regression_for_path_and_cascade

Add regression test for router was overwriting PATH_INFO
fix test_helper for mountable plugin
Merge pull request #17240 from masarakki/fix-test_helper-of-mountable-plugin

fix test_helper for mountable plugin
remove unused tools/profile
Merge pull request #17247 from igas/fix-deprecations

remove unused tools/profile

We usually use moderns tools like benchmark-ips so we don't need this anymore