lisa.tests.scheduler.eas_behaviour: Use rtapp phases events
lisa.tests.scheduler.eas_behaviour: Use rtapp phases events

Use phase events for the timestamps, rather than using the phases' duration from
the profile.

Also use analysis functions when possible do reduce redundant code.

credp/lisa,ARM-software/lisa,ARM-software/lisa,ARM-software/lisa,ARM-software/lisa,credp/lisa,credp/lisa,credp/lisa