Use VmOrTemplate instead of MiqTemplate for lookup
Use VmOrTemplate instead of MiqTemplate for lookup

TreeNodeBuilder#build has recently be switched to using a hash lookup
instead of a case.  This was to improve performance, but it did switch
the comparison that was done in the case to be assumed when doing the
lookup in `.build`, which is less forgiving.

For example, given the following object:

object = ManageIQ::Providers::Microsoft::InfraManager::Template.new

The `.base_class` of it would return `VmOrTemplate`.  This is not part
of the `TreeNodeBuilder::BUILD_NODE_HASH` keys, and neither is
`ManageIQ::Providers::Microsoft::InfraManager::Template`, so `.build`
would return `nil`.  When `.build` was a case statement, `object` would
have had `MiqTemplate::===` called against it, which would have matched
to `object`, and resolved.

`MiqTemplate` inherits from `VmOrTemplate`, and `VmOrTemplate` inherits
from `ApplicationRecord`.  Due to the functionality of `.base_class`:

http://api.rubyonrails.org/classes/ActiveRecord/Inheritance/ClassMethods.html#method-i-base_class

By switching to `"VmOrTemplate"` for the key, anything that would have
resolved to `MiqTemplate` will now resolve to `"VmOrTemplate"`, and
anything that resolves to `"VmOrTemplate"` and didn't work now will.

jrafanie/manageiq,ilackarms/manageiq,ManageIQ/manageiq,NickLaMuro/manageiq,djberg96/manageiq,billfitzgerald0120/manageiq,mkanoor/manageiq,NaNi-Z/manageiq,agrare/manageiq,andyvesel/manageiq,NickLaMuro/manageiq,pkomanek/manageiq,billfitzgerald0120/manageiq,israel-hdez/manageiq,mzazrivec/manageiq,hstastna/manageiq,chessbyte/manageiq,matobet/manageiq,yaacov/manageiq,mresti/manageiq,ailisp/manageiq,andyvesel/manageiq,romanblanco/manageiq,branic/manageiq,mkanoor/manageiq,mresti/manageiq,jvlcek/manageiq,syncrou/manageiq,josejulio/manageiq,chessbyte/manageiq,jameswnl/manageiq,jntullo/manageiq,josejulio/manageiq,juliancheal/manageiq,gerikis/manageiq,jntullo/manageiq,gmcculloug/manageiq,jvlcek/manageiq,syncrou/manageiq,hstastna/manageiq,ilackarms/manageiq,israel-hdez/manageiq,kbrock/manageiq,jameswnl/manageiq,lpichler/manageiq,tinaafitz/manageiq,ilackarms/manageiq,andyvesel/manageiq,mzazrivec/manageiq,tzumainn/manageiq,hstastna/manageiq,djberg96/manageiq,NaNi-Z/manageiq,durandom/manageiq,tinaafitz/manageiq,jameswnl/manageiq,yaacov/manageiq,durandom/manageiq,mkanoor/manageiq,tzumainn/manageiq,branic/manageiq,djberg96/manageiq,fbladilo/manageiq,jntullo/manageiq,jrafanie/manageiq,mresti/manageiq,tinaafitz/manageiq,jvlcek/manageiq,aufi/manageiq,skateman/manageiq,lpichler/manageiq,gerikis/manageiq,kbrock/manageiq,billfitzgerald0120/manageiq,durandom/manageiq,d-m-u/manageiq,NickLaMuro/manageiq,jrafanie/manageiq,jameswnl/manageiq,ailisp/manageiq,jntullo/manageiq,juliancheal/manageiq,lpichler/manageiq,d-m-u/manageiq,gerikis/manageiq,agrare/manageiq,gerikis/manageiq,josejulio/manageiq,billfitzgerald0120/manageiq,israel-hdez/manageiq,juliancheal/manageiq,romanblanco/manageiq,yaacov/manageiq,mzazrivec/manageiq,kbrock/manageiq,agrare/manageiq,skateman/manageiq,mfeifer/manageiq,kbrock/manageiq,aufi/manageiq,skateman/manageiq,tzumainn/manageiq,NaNi-Z/manageiq,hstastna/manageiq,syncrou/manageiq,borod108/manageiq,fbladilo/manageiq,ilackarms/manageiq,matobet/manageiq,ailisp/manageiq,aufi/manageiq,branic/manageiq,borod108/manageiq,tzumainn/manageiq,gmcculloug/manageiq,ManageIQ/manageiq,ManageIQ/manageiq,andyvesel/manageiq,romanblanco/manageiq,josejulio/manageiq,chessbyte/manageiq,mfeifer/manageiq,pkomanek/manageiq,durandom/manageiq,gmcculloug/manageiq,israel-hdez/manageiq,matobet/manageiq,NaNi-Z/manageiq,d-m-u/manageiq,fbladilo/manageiq,chessbyte/manageiq,lpichler/manageiq,ailisp/manageiq,ManageIQ/manageiq,agrare/manageiq,borod108/manageiq,jvlcek/manageiq,pkomanek/manageiq,syncrou/manageiq,d-m-u/manageiq,fbladilo/manageiq,mfeifer/manageiq,mkanoor/manageiq,skateman/manageiq,djberg96/manageiq,yaacov/manageiq,juliancheal/manageiq,branic/manageiq,tinaafitz/manageiq,pkomanek/manageiq,mresti/manageiq,NickLaMuro/manageiq,romanblanco/manageiq,mfeifer/manageiq,mzazrivec/manageiq,gmcculloug/manageiq,jrafanie/manageiq,aufi/manageiq,matobet/manageiq,borod108/manageiq