Check encode time for mandatory resolutions.

Currently it there is no criteria for failing or passing depending on the encode time. It will print out the average, max and min, also an error message will be printed out as reportInfo (do not want to fail the test) when no stats can be gathered. 

Since I do know any acceptable encode time value ranges I think this is sufficient for now.
Haha yeah that makes sense [1]. I was doing to make it cleaner to read but I do understand the complications of the unnecessary closures. Is it worth another GET for a util.js file (with a util class) or add them to main? If we create a util.js file we could move over some other stuff as well eventually.