Implementing cron cron trigger v2

* Refactored triggers v1
* Implemented triggers v2
* Refactored tests for triggers v1
* Added simple unit tests for v2
* Refactored workflow service

Change-Id: I950d858f9f90e6f1c16580667512bc134c07be57
Merge "Implementing cron cron trigger v2"