Implement and add basic test of new executeWithTiming which accepts a metric name and a block.
Ensure provided block exists before trying to executeWithTiming.
Merge branch 'issue-4-execute-blocks-with-timing'

Implements issue #4