Refactor speed control.
Add fixes.
Update docstrings.
Removed unused helpers.
Merge pull request #3231 from edx/anton/refactor-speed-control

Video: Refactor speed control.