Update service.rb

added checks for STOPPING when stop is called and STARTING when start is called.
Update service.rb

get the template to run now, rather than being added to the end of the resource stack.
Update service.rb

ensures that `supervisorctl update` is called immediately upon manual execution of the `template`
Update service.rb

assign the execute to a variable named e so that we can run it if/when the template changes.
Merge pull request #26 from tejaycar/COOK-3655

[COOK-3655] Fix errors on start and stop actions