Fix for state propagation related to starting of new workflow cycle.
Invoking all state change signal handler including the one for email notification
Also did cleanup of common queries to SQLAlchemy model object
Merge remote-tracking branch 'origin/develop' into feature/state_propagation_start_workflow_for_emailnotification
Minor line-length cleanup
Merge pull request #1549 from reciprocity/feature/state_propagation_start_workflow_for_emailnotification

Fix for state propagation related to starting of new workflow cycle