Implementation of a runner employing the main UI thread looper.
Note that, when the invocation runs in the main thread, the executions with a delay of 0 will be
performed synchronously, while the ones with a positive delay will be posted on the UI thread.
Created by davide-maestroni on 12/17/2014.