Bring the SystemV init.d scripts inline with the Debian policies

I'm in the process of updating the init.d script and require a new template, being a Scala noob could someone review it?