Added thread pool metrics back to execution flow

Calls to ```threadPool.markThreadExecution()``` and ```threadPool.markThreadCompletion()``` got removed in the 1.3 -> 1.4 rewrite.  This adds them back and gets the unit tests contributed by @nurkiewicz working.  Thanks for those, @nurkiewicz!