Allow service_file mode to be changed
Add an init.d script template
Allow $service_* to be auto-set based on $service_provider

This is so one doesn't have to manually configure all $service_ variables but
still can if they desire.
Set pid and socket directories based on OS
Merge pull request #2 from kimor79/initd-support

init.d support