Rewritten miq_ae_class view to HAML + added gettext calls

Parent issues: #1001, #1025 
this combination of `if` + `image_tag` + `link_to` reminds me of some situation what we previously cleaned up by writing a helper function

also this very same structure is repeated several times in this PR

please, take a look if this can be cleaned up and deduplicated, contact me on IRC if unsure