refs #6370 - automatically associate OS's with templates

Needs https://github.com/theforeman/foreman/pull/1662.  This makes it zero steps for the user: sync a repo, and all the appropraite associations are made.