Fixes #746 - Generate all the Host template when click on Build to avoid...

Generate all the Host template when click on Build to avoid errors during installation.
Includes moving of template_used to Managed model so it can be used elsewhere.

the checkbox and explanations are not aligned correctly, imho this should be based on bootstrap structure (best to use our field helper) and provide the label, checkbox and description in the same context.