(WIP) Replace erlang cookie fact with type and provider

Alternate proposal to #278 
I copied this from the original exec. The advantage here is it lets the service provider figure out what stopped means so it will work on any init system (that the service provider supports). I don't want to add special logic to figure out systemd. There might be a more ruby-ish or puppet-ish way to do this better though, I'll see if I can find one.