Merge pull request #17613 from sandipransing/testing-guide

[ci skip] Improve upon testing tasks guide
exec_prepared is GVL friendly, so lets use it.

also increase the version of pg required so that people will get the
GVL friendly version
[ci skip] Remove deprecated testing tasks

This has changed recently and so rake test:all and rake
test:all:db are deprecated.