Fixes several misc typos in scheduler code

Change-Id: Id7d86e3be34b650a63679ba086abcb13dfac2eb8
Closes-bug: #1234902
Merge "Fixes several misc typos in scheduler code"