[api] Fix skipping of `:verify_authenticity_token`
[api] Fix skipping of `:verify_authenticity_token`

This condition will never be true, because:

* it's asking the class if it responds to an instance method
* the instance method is private
* it seems to be defined whether or not we call `protect_from_forgery`
  in the superclass

This change reverts part of
https://github.com/ManageIQ/manageiq/commit/df041ad7771bea7c6364389f1eef4a32655f085e. Since
there doesn't seem to be a public API for determining which callbacks
have been defined, this seems to be the best way to express whether we
have enabled `protect_from_forgery` at runtime.

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