Various enhancements, mostly Debian oriented

According to the code (https://github.com/theforeman/foreman_templates/blob/master/lib/templates.rake#L20) the match is on the start of the OS.