Rewritten miq_template view to HAML + added gettext calls

Parent issues: #1001, #1025