State#addOnEntryAction, State#addOnExitAction, CallFLow#create must be implemented as generator function, disabling jshint task in gruntfile (due to E047: generator shall contain yield statement), controllers refactoring