Unify the approaches to handling steps and events in ep manager

Also, manage the saving of execution plan in plan manager instead
of flow manager, with better isolation of responsibilities.
Merge pull request #92 from iNecas/fix-plan-saving

Unify the approaches to handling steps and events in ep manager