Rewritten catalog view partial.

@romanblanco how about somethign liek this
nodetypes = %w(MiqTemplate ServiceResource ServiceTemplate ServiceTemplateCatalog)
if nodetypes.include?(X_TREE_NODE_PREFIXES[@nodetype]) && !@view