[In Progress] cleanup perl frameworks installation scripts, see #966

Per #966, this PR is an attempt to clean up the Perl frameworks' installation scripts. Please do not merge yet.
Instead of `../mojolicious`, please use `$TROOT` (it's a variable for test root, and will point to the folder where this test's source code is found)