DEV: Add jquery-free `decorateCookedElement` function to plugin api (PR #9534)

This is a replacement for decorateCooked which will work without jquery.

A backwards compatibility layer is provided for existing plugins/themes which are currently using decorateCooked


This is good. In the future (not any time soon!) we should deprecate the old one.

I think the name is good.