[engine] Add dependencies on libfirmament_scheduling.a
[scheduling] [engine] Move common functionality into EventDrivenScheduler class.