Adds an option to the test_runner to run tests in priority based on a comma-separated list of keywords.
Can be used like python test/functional/test_runner.py -j1 --priority='rpc,wallet, which will first run rpc tests then wallet tests.
Or with tests directly: python test/functional/test_runner.py -j1 --priority='wallet_groups.py'.
Note: if you test the script and don't use -j1, you may see other non-prioritized tests being executed first because they run in parallel.