added task name to SCHEDULE_TASK event

promise.ControlFlow.EventType.SCHEDULE_TASK now propagated with optional task name parameter, so event handlers can benefit from that

Signed-off-by: Jason Leyba <jmleyba@gmail.com>
Code comment changes for wait()

It is more common to use a condition returning a promise rather than a boolean,
and this is supported by wait(). The angular protractor documentation is
missing this important information due to it being generated from this function.

Signed-off-by: Jason Leyba <jmleyba@gmail.com>