[SPARK-1341] [Streaming] Throttle BlockGenerator to limit rate of data consumption.

If the problem is being slow, we could just remove the lower bound check. Line 178 is checking that the number of messages is not too small either way, so we won't be losing anything.