fix($timeout.$flush): make $flush follow the timeline

Make the mock $timeout.$flush follow the timeline when the function
being calls $timeout