Bug 1049031 - Add utilities and global config for gaia perf tests maintenance

The reason I have them declared as locals first is it's easier and shorter to use the methods internal to the file and export them for others. Otherwise I would have to keep doing things like `PerfUtils.contains(a, b)` instead of just `contains(a, b)`.